summaryrefslogtreecommitdiffstats
path: root/test/TEST-02-CRYPTSETUP
diff options
context:
space:
mode:
authorDimitri John Ledkov <xnox@ubuntu.com>2017-11-07 15:51:30 +0100
committerLennart Poettering <lennart@poettering.net>2017-11-07 15:51:30 +0100
commit4b742c8acdd0d6bf3f9e9664f22e355da762f49e (patch)
tree3b093901cd9b3a8b889df5d751bf39d2e26dac97 /test/TEST-02-CRYPTSETUP
parentMerge pull request #7256 from keszybz/add-cii-badge (diff)
downloadsystemd-4b742c8acdd0d6bf3f9e9664f22e355da762f49e.tar.xz
systemd-4b742c8acdd0d6bf3f9e9664f22e355da762f49e.zip
test: switch to using ext4 instead of ext3 as default fallback fs (#7265)
Using ext3 is not representative anymore, and Ubuntu has stopped shipping fsck.ext3 in the initramfs.
Diffstat (limited to 'test/TEST-02-CRYPTSETUP')
-rwxr-xr-xtest/TEST-02-CRYPTSETUP/test.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/TEST-02-CRYPTSETUP/test.sh b/test/TEST-02-CRYPTSETUP/test.sh
index 1280148b58..545602e17a 100755
--- a/test/TEST-02-CRYPTSETUP/test.sh
+++ b/test/TEST-02-CRYPTSETUP/test.sh
@@ -31,7 +31,7 @@ test_setup() {
echo -n test >$TESTDIR/keyfile
cryptsetup -q luksFormat ${LOOPDEV}p2 $TESTDIR/keyfile
cryptsetup luksOpen ${LOOPDEV}p2 varcrypt <$TESTDIR/keyfile
- mkfs.ext3 -L var /dev/mapper/varcrypt
+ mkfs.ext4 -L var /dev/mapper/varcrypt
mkdir -p $TESTDIR/root
mount ${LOOPDEV}p1 $TESTDIR/root
mkdir -p $TESTDIR/root/var
@@ -67,7 +67,7 @@ EOF
cat $initdir/etc/crypttab | ddebug
cat >>$initdir/etc/fstab <<EOF
-/dev/mapper/varcrypt /var ext3 defaults 0 1
+/dev/mapper/varcrypt /var ext4 defaults 0 1
EOF
) || return 1