X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=devices%2Fparser-test.sh;h=140601e70ad7de5cea7f6395931616cbbf11aaf5;hb=ba87731ad84f9c91d361a03c4c2e40a4a38acc96;hp=cdd814b7c13b53fe35e91fe42cde9b9600f508ff;hpb=dbacb44c0ebb587b5cfcbbf84c770502c217473a;p=petitboot diff --git a/devices/parser-test.sh b/devices/parser-test.sh index cdd814b..140601e 100755 --- a/devices/parser-test.sh +++ b/devices/parser-test.sh @@ -11,7 +11,7 @@ function test_dir() then rootdev=$(cat "$dir/rootdev") fi - ./parser-test "$dir" $rootdev 2>/dev/null | + ./parser-test "$dir" /dev/$rootdev 2>/dev/null | diff -u "$dir/expected-output" - }