diff options
Diffstat (limited to 'test/test-functions')
-rw-r--r-- | test/test-functions | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/test-functions b/test/test-functions index 87d3a73e75..a9446e514a 100644 --- a/test/test-functions +++ b/test/test-functions @@ -124,18 +124,18 @@ install_missing_libraries() { } create_empty_image() { - rm -f $TESTDIR/rootdisk.img + rm -f "$TESTDIR/rootdisk.img" # Create the blank file to use as a root filesystem - dd if=/dev/null of=$TESTDIR/rootdisk.img bs=1M seek=200 + dd if=/dev/null of="$TESTDIR/rootdisk.img" bs=1M seek=200 LOOPDEV=$(losetup --show -P -f $TESTDIR/rootdisk.img) - [ -b $LOOPDEV ] || return 1 + [ -b "$LOOPDEV" ] || return 1 echo "LOOPDEV=$LOOPDEV" >> $STATEFILE - sfdisk -C 6400 -H 2 -S 32 -L $LOOPDEV <<EOF + sfdisk -C 6400 -H 2 -S 32 -L "$LOOPDEV" <<EOF ,3200 , EOF - mkfs.ext3 -L systemd ${LOOPDEV}p1 + mkfs.ext3 -L systemd "${LOOPDEV}p1" } check_result_nspawn() { |