From d612d8f0f39b90132d1b701f47e465c81127c8c3 Mon Sep 17 00:00:00 2001 From: Tobias Powalowski Date: Thu, 11 Jul 2024 19:31:01 +0200 Subject: [PATCH] add filesystem tests to testsuite --- usr/bin/archboot-testsuite.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/usr/bin/archboot-testsuite.sh b/usr/bin/archboot-testsuite.sh index 5ecf045a0..12b2f949f 100755 --- a/usr/bin/archboot-testsuite.sh +++ b/usr/bin/archboot-testsuite.sh @@ -94,10 +94,10 @@ _run_test "filesystems..." for i in bcachefs btrfs ext4 swap xfs vfat; do dd if=/dev/zero of=/test.img bs=1M count=1000 &>"${_NO_LOG}" if [[ "${i}" == "swap" ]]; then - mkswap /test.img &>"${_NO_LOG}" || echo "Creation error: ${i}" >>filesystems-error.log + mkswap /test.img &>"${_NO_LOG}" || echo "Creation error: ${i}" >> filesystems-error.log else - mkfs.${i} /test.img &>"${_NO_LOG}" || echo "Creation error: ${i}" >>filesystems-error.log - mount -o loop /test.img /mnt || echo "Mount error: ${i}" >>filesystems-error.log + mkfs.${i} /test.img &>"${_NO_LOG}" || echo "Creation error: ${i}" >> filesystems-error.log + mount -o loop /test.img /mnt || echo "Mount error: ${i}" >> filesystems-error.log umount /mnt fi done