Lines Matching refs:TESTDIR
10 mkdir -p $TESTDIR/root
11 mount ${LOOPDEV}p1 $TESTDIR/root
12 [[ -e $TESTDIR/root/testok ]] && ret=0
13 [[ -f $TESTDIR/root/failed ]] && cp -a $TESTDIR/root/failed $TESTDIR
14 cryptsetup luksOpen ${LOOPDEV}p2 varcrypt <$TESTDIR/keyfile
15 mount /dev/mapper/varcrypt $TESTDIR/root/var
16 cp -a $TESTDIR/root/var/log/journal $TESTDIR
17 umount $TESTDIR/root/var
18 umount $TESTDIR/root
20 [[ -f $TESTDIR/failed ]] && cat $TESTDIR/failed
21 ls -l $TESTDIR/journal/*/*.journal
22 test -s $TESTDIR/failed && ret=$(($ret+1))
38 echo -n test >$TESTDIR/keyfile
39 cryptsetup -q luksFormat ${LOOPDEV}p2 $TESTDIR/keyfile
40 cryptsetup luksOpen ${LOOPDEV}p2 varcrypt <$TESTDIR/keyfile
42 mkdir -p $TESTDIR/root
43 mount ${LOOPDEV}p1 $TESTDIR/root
44 mkdir -p $TESTDIR/root/var
45 mount /dev/mapper/varcrypt $TESTDIR/root/var
81 ddebug "umount $TESTDIR/root/var"
82 umount $TESTDIR/root/var
84 ddebug "umount $TESTDIR/root"
85 umount $TESTDIR/root
89 umount $TESTDIR/root/var 2>/dev/null
91 umount $TESTDIR/root 2>/dev/null