summaryrefslogtreecommitdiffstats
path: root/tests/test9.tst
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test9.tst')
-rw-r--r--tests/test9.tst16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/test9.tst b/tests/test9.tst
new file mode 100644
index 0000000..1a5ed6e
--- /dev/null
+++ b/tests/test9.tst
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+source ${CURDIR}/tests/functions
+
+#
+# test old-style cmdline options
+#
+header "test old-style cmdline options"
+runcmd "$MOCKCMD --offline clean"
+runcmd "$MOCKCMD --offline init"
+runcmd "$MOCKCMD --offline install ccache"
+if [ ! -e $CHROOT/usr/bin/ccache ]; then
+ echo "init/clean test FAILED. ccache not found."
+ exit 1
+fi
+