mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-19 19:40:37 +02:00
add filesystem tests to testsuite
This commit is contained in:
parent
c886f9e6c3
commit
b595c3effa
1 changed files with 1 additions and 1 deletions
|
@ -94,7 +94,7 @@ _run_test "filesystems..."
|
||||||
for i in bcachefs btrfs ext4 swap xfs vfat; do
|
for i in bcachefs btrfs ext4 swap xfs vfat; do
|
||||||
dd if=/dev/zero of=/test.img bs=1M count=1000 &>"${_NO_LOG}"
|
dd if=/dev/zero of=/test.img bs=1M count=1000 &>"${_NO_LOG}"
|
||||||
if [[ "${i}" == "swap" ]]; then
|
if [[ "${i}" == "swap" ]]; then
|
||||||
mkswap /test.img &>"${_NO_LOG}" || echo ${i} >>filesystems-error.log
|
mkswap /test.img &>"${_NO_LOG}" || echo "Creation error: ${i}" >>filesystems-error.log
|
||||||
else
|
else
|
||||||
mkfs.${i} /test.img &>"${_NO_LOG}" || echo "Creation 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
|
mount -o loop /test.img /mnt || echo "Mount error: ${i}" >>filesystems-error.log
|
||||||
|
|
Loading…
Reference in a new issue