summaryrefslogtreecommitdiffstats
path: root/tests/test5.tst
blob: 0724d01c332a3836ab4126bd39520dcb44ecd703 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

source ${CURDIR}/tests/functions

#
# Test offline build as well as tmpfs
#
header "Test offline build as well as tmpfs"
runcmd "$MOCKCMD --offline --enable-plugin=tmpfs --rebuild $MOCKSRPM"
if [ ! -e $outdir/mock-*.noarch.rpm ]; then
    echo "rebuild test FAILED. could not find $outdir/mock-*.noarch.rpm"
    exit 1
fi