mirror of
https://github.com/token2/snapd.git
synced 2026-03-13 11:15:47 -07:00
Script being used to detect which snaps can be moved to
for snap in $(ls tests/lib/snaps); do
count=0
last=
for test in $(find tests/ -name task.yaml); do
if $(grep -q $snap $test); then
count=$((count+1))
last=$test
fi
done
echo "$snap -> $count times"
if [ $count = 1 ]; then
echo "mv tests/lib/snaps/$snap $(dirname $last)"
fi
done
4 lines
48 B
Bash
Executable File
4 lines
48 B
Bash
Executable File
#!/bin/sh
|
|
|
|
dd if=/dev/fb0 of=/dev/null count=10
|