X-Git-Url: http://git.ozlabs.org/?p=petitboot;a=blobdiff_plain;f=devices%2Fparser-test.sh;fp=devices%2Fparser-test.sh;h=0000000000000000000000000000000000000000;hp=140601e70ad7de5cea7f6395931616cbbf11aaf5;hb=32e6a41f33e5576716b351bd473a27939fe94fa1;hpb=000a92b4fa909c432732ac3ed8f28eeeaeac70ee diff --git a/devices/parser-test.sh b/devices/parser-test.sh deleted file mode 100755 index 140601e..0000000 --- a/devices/parser-test.sh +++ /dev/null @@ -1,26 +0,0 @@ -#!/bin/bash - -testdir=devices/parser-tests -default_rootdev=ps3da1 - -function test_dir() -{ - dir="$1" - rootdev=$default_rootdev - if [ -e "$dir/rootdev" ] - then - rootdev=$(cat "$dir/rootdev") - fi - ./parser-test "$dir" /dev/$rootdev 2>/dev/null | - diff -u "$dir/expected-output" - -} - -set -ex - -for test in $testdir/* -do - echo $test - test_dir "$test" -done - -echo "All tests passed"