1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 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