Home
last modified time | relevance | path

Searched refs:TESTDIR (Results 1 – 3 of 3) sorted by relevance

/systemd-251/test/
Dtest-sysusers.sh.in11 TESTDIR=$(mktemp --tmpdir --directory "test-sysusers.XXXXXXXXXX")
12 trap "rm -rf '$TESTDIR'" EXIT INT QUIT PIPE
15 mkdir -p $TESTDIR/etc/sysusers.d/
16 mkdir -p $TESTDIR/usr/lib/sysusers.d/
17 rm -f $TESTDIR/etc/*{passwd,group,shadow}
19 test -f $i && cp $i $TESTDIR/etc/${i#*.initial-}
34 if ! diff -u $TESTDIR/etc/passwd <(preprocess $1.expected-passwd $3); then
39 if ! diff -u $TESTDIR/etc/group <(preprocess $1.expected-group $3); then
45 rm -f $TESTDIR/etc/sysusers.d/* $TESTDIR/usr/lib/sysusers.d/*
51 cp $f $TESTDIR/usr/lib/sysusers.d/test.conf
[all …]
Dtest-functions578 rm -rfv "$TESTDIR/minimal"
579 export initdir="$TESTDIR/minimal"
629 export initdir="$TESTDIR/app0"
653 export initdir="$TESTDIR/app1"
1406 dest="${TESTDIR:?}/coverage-info"
1455 dest="${TESTDIR:?}/system.journal"
1493 cp -a "$workspace/failed" "${TESTDIR:?}/"
1495 setfacl -m "user:${SUDO_USER:?}:r-X" "${TESTDIR:?}/"failed
1499 echo "(timeout)" >"${TESTDIR:?}/failed"
1510 echo "(failed; see logs)" >"${TESTDIR:?}/failed"
[all …]
/systemd-251/test/TEST-24-CRYPTSETUP/
Dtest.sh20 cryptsetup luksOpen "${LOOPDEV:?}p2" varcrypt <"$TESTDIR/keyfile"
28 [[ -f "$TESTDIR/failed" ]] && cat "$TESTDIR/failed"
31 test -s "$TESTDIR/failed" && ret=1
39 …etup -q luksFormat --pbkdf pbkdf2 --pbkdf-force-iterations 1000 "${LOOPDEV:?}p2" "$TESTDIR/keyfile"
40 cryptsetup luksOpen "${LOOPDEV}p2" varcrypt <"$TESTDIR/keyfile"