mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
generic: add missing runtime checks for mknod/mkfifo
Some generic tests explicitly run 'mknod' or 'mkfifo' command, however the correspondent runtime check is missing, this results in a test failure instead of selecting not to execute the test. The change adds _require_mknod check to the next generic tests: * generic/157 * generic/158 * generic/294 * generic/423 Signed-off-by: Vladimir Zapolskiy <vladimir@tuxera.com> Reviewed-by: Eryu Guan <guaneryu@gmail.com> Signed-off-by: Eryu Guan <guaneryu@gmail.com>
This commit is contained in:
committed by
Eryu Guan
parent
d16882efc4
commit
4e723c0f82
@@ -31,6 +31,7 @@ _cleanup()
|
||||
_supported_os Linux
|
||||
_require_test_reflink
|
||||
_require_scratch_reflink
|
||||
_require_mknod
|
||||
|
||||
rm -f $seqres.full
|
||||
|
||||
|
||||
@@ -31,6 +31,7 @@ _cleanup()
|
||||
_supported_os Linux
|
||||
_require_test_dedupe
|
||||
_require_scratch_dedupe
|
||||
_require_mknod
|
||||
|
||||
rm -f $seqres.full
|
||||
|
||||
|
||||
@@ -33,6 +33,7 @@ _supported_fs generic
|
||||
_supported_os Linux
|
||||
_require_scratch
|
||||
_require_symlinks
|
||||
_require_mknod
|
||||
|
||||
rm -f $seqres.full
|
||||
_scratch_mkfs > $seqres.full 2>&1 || _fail "Could not mkfs scratch device"
|
||||
|
||||
@@ -39,6 +39,7 @@ _require_test_program "stat_test"
|
||||
_require_test_program "af_unix"
|
||||
_require_statx
|
||||
_require_symlinks
|
||||
_require_mknod
|
||||
|
||||
function check_stat () {
|
||||
$here/src/stat_test $* || echo stat_test failed
|
||||
|
||||
Reference in New Issue
Block a user