mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
Fix QA tests which use dd so that they specify posixly correct output
This commit is contained in:
@@ -98,7 +98,9 @@ _check_repair()
|
||||
# some basic sanity checks...
|
||||
_check_scratch_fs
|
||||
_scratch_mount #mount
|
||||
POSIXLY_CORRECT=yes \
|
||||
dd if=/bin/sh of=$SCRATCH_MNT/sh 2>&1 |_filter_dd #open,write
|
||||
POSIXLY_CORRECT=yes \
|
||||
dd if=$SCRATCH_MNT/sh of=/dev/null 2>&1 |_filter_dd #read
|
||||
rm -f $SCRATCH_MNT/sh #unlink
|
||||
umount $SCRATCH_MNT #umount
|
||||
|
||||
Reference in New Issue
Block a user