From 2149d0815501d3721ccfdb8203e54a7bcb59ff32 Mon Sep 17 00:00:00 2001 From: Clark Williams Date: Fri, 16 Jul 2010 07:57:57 -0500 Subject: moved test suite to 'tests' directory Moved test infrastructure into the tests directory and broke component tests out into individual scripts. Signed-off-by: Clark Williams --- tests/test9.tst | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 tests/test9.tst (limited to 'tests/test9.tst') 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 + -- cgit