3 testdir=devices/parser-tests
9 rootdev=$default_rootdev
10 if [ -e "$dir/rootdev" ]
12 rootdev=$(cat "$dir/rootdev")
14 ./parser-test "$dir" /dev/$rootdev 2>/dev/null |
15 diff -u "$dir/expected-output" -
20 for test in $testdir/*
26 echo "All tests passed"