summaryrefslogtreecommitdiffstats
path: root/tests/test9.tst
blob: 1a5ed6ef8126222fd320bcb8036dd5feaf6de579 (plain)
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