]> git.ozlabs.org Git - petitboot/blobdiff - devices/parser-test.sh
Rework device-path handling
[petitboot] / devices / parser-test.sh
index cdd814b7c13b53fe35e91fe42cde9b9600f508ff..140601e70ad7de5cea7f6395931616cbbf11aaf5 100755 (executable)
@@ -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" -
 }