wmii/test/test_fs.sh
2006-05-17 11:33:52 +02:00

20 lines
238 B
Bash

#!/bin/sh
# Heavy access test of wmiiwm's fs
dump_fs() {
echo $1
wmiir read $1|wmiir write $1;
for i in `wmiir read $1|awk '{print $10}'`
do
if test $i != "event"
then
dump_fs $1/$i
fi
done
}
while true
do
dump_fs /
done