]> git.ozlabs.org Git - petitboot/blobdiff - test/parser-test.sh
Parser test cleanup
[petitboot] / test / parser-test.sh
diff --git a/test/parser-test.sh b/test/parser-test.sh
deleted file mode 100755 (executable)
index af54395..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-#!/bin/bash
-
-testdir=parser
-default_rootdev=ps3da1
-mnt=${PREFIX}/var/petitboot/mnt
-
-#set -ex
-
-tests=$(ls ${mnt}/${testdir}/)
-
-for test in $tests
-do
-       rootdev=$default_rootdev
-
-       if [ -e "${mnt}/${testdir}/$test/rootdev" ]; then
-               rootdev=$(cat "${mnt}/${testdir}/$test/rootdev")
-       fi
-
-       ./test/parser-test "${testdir}/$test" $rootdev
-
-#      ./test/parser-test "${testdir}/$test" $rootdev 2>/dev/null |
-#              diff -u "${mnt}/${testdir}/$test/expected-output" -
-done
-
-echo "All tests passed"