]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
tests: skip broken tests on docker
authorThomas Weißschuh <thomas@t-8ch.de>
Wed, 31 May 2023 15:31:01 +0000 (17:31 +0200)
committerThomas Weißschuh <thomas@t-8ch.de>
Sun, 26 Nov 2023 14:49:30 +0000 (15:49 +0100)
Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
(cherry picked from commit d53284bb1e40f19ac065e52ff9df97d2caf60259)

12 files changed:
tests/ts/hwclock/show
tests/ts/lsfd/mkfds-mapped-packet-socket
tests/ts/lsfd/mkfds-netns
tests/ts/lsfd/mkfds-raw6
tests/ts/lsfd/mkfds-ro-block-device
tests/ts/lsfd/mkfds-tcp6
tests/ts/lsfd/mkfds-udp6
tests/ts/lsfd/option-inet
tests/ts/mount/fstab-bind
tests/ts/mount/fstab-broken
tests/ts/mount/fstab-none
tests/ts/mount/move

index 9cab474609e7e284ded76cfb575569573bde7afc..d8cdc8ee74b33d866e37f2d9226ebbc2f182f224 100755 (executable)
@@ -26,6 +26,7 @@ ts_check_test_command "$TS_CMD_HWCLOCK"
 
 ts_skip_nonroot
 ts_skip_qemu_user
+ts_skip_docker
 
 # RTC interrupts are sometimes broken on GitHub Actions
 if ts_is_virt "microsoft"; then
index 6844e75e5a586eea540af06a215c054a1574183b..a1fb68f985cee6d287d2aa0d3735aab412c3097d 100755 (executable)
@@ -20,6 +20,7 @@ TS_DESC="mmap'ed AF_PACKET socket"
 . "$TS_TOPDIR"/functions.sh
 ts_init "$*"
 ts_skip_nonroot
+ts_skip_docker
 
 . "$TS_SELF"/lsfd-functions.bash
 
index 24e926561998495829b2b4a4ef5e22fd930d2df0..cd110f6cca6a3af525058daf2a7a8f33bee3b326 100755 (executable)
@@ -20,6 +20,7 @@ TS_DESC="netns associated with a fd"
 . "$TS_TOPDIR"/functions.sh
 ts_init "$*"
 ts_skip_nonroot
+ts_skip_docker
 
 . "$TS_SELF/lsfd-functions.bash"
 ts_check_test_command "$TS_CMD_LSFD"
index d758aad2410cab3a8a52eb8cc5231e3eda574483..0b82fff330994ead93c0e1c721f8f608fb8858a2 100755 (executable)
@@ -25,6 +25,7 @@ ts_skip_nonroot
 ts_check_test_command "$TS_CMD_LSFD"
 ts_check_test_command "$TS_HELPER_MKFDS"
 ts_check_native_byteorder
+ts_skip_docker
 
 ts_cd "$TS_OUTDIR"
 
index e5d108d8c2d99cc4e1b2d31196cb59910e3f1323..ad5a4920459c8287e10248caa48f3af6cf01fbef 100755 (executable)
@@ -20,6 +20,7 @@ TS_DESC="block device with O_RDONLY"
 . "$TS_TOPDIR"/functions.sh
 ts_init "$*"
 ts_skip_nonroot
+ts_skip_docker
 
 # losetup cannot find an unused loop device.
 ts_skip_qemu_user
index 5f196daafd4eb8c7e64e97a63151991812b91422..7368bfa9fe172c9e6e4153a6a504ca1a72cac43a 100755 (executable)
@@ -23,6 +23,7 @@ ts_init "$*"
 ts_check_test_command "$TS_CMD_LSFD"
 ts_check_test_command "$TS_HELPER_MKFDS"
 ts_check_native_byteorder
+ts_skip_docker
 
 ts_cd "$TS_OUTDIR"
 
index cd8dc00a4a28527dce96ae3d943c73c1c566a399..75381ba380de9c8e8ff3931ae5ec772bc8615fe2 100755 (executable)
@@ -23,6 +23,7 @@ ts_init "$*"
 ts_check_test_command "$TS_CMD_LSFD"
 ts_check_test_command "$TS_HELPER_MKFDS"
 ts_check_native_byteorder
+ts_skip_docker
 
 ts_cd "$TS_OUTDIR"
 
index 21e66f700424f4c38a7fea65b149e3c5eef707ef..011a9b3a55b3165c86798307b60773ec7e079dfb 100755 (executable)
@@ -20,6 +20,7 @@ TS_DESC="--inet option"
 . "$TS_TOPDIR"/functions.sh
 ts_init "$*"
 ts_skip_qemu_user
+ts_skip_docker
 
 ts_check_test_command "$TS_CMD_LSFD"
 ts_check_test_command "$TS_HELPER_MKFDS"
index 603a8d890b2bd427fefca62742c5c1cefbdb54f9..2c799df78950eb34024c0a9010a49d5ca38630f4 100755 (executable)
@@ -11,6 +11,7 @@ ts_check_test_command "$TS_CMD_UMOUNT"
 ts_check_test_command "$TS_CMD_FINDMNT"
 
 ts_skip_nonroot
+ts_skip_docker
 
 MY_SOURCE="${TS_MOUNTPOINT}-src"
 
index 131d5c1d75fea2ede38aed95b41e17750126db5e..19edc5fe31904e9bc8d7a7ad1df754f77c9dcdd3 100755 (executable)
@@ -26,6 +26,7 @@ ts_check_test_command "$TS_CMD_UMOUNT"
 ts_check_test_command "$TS_CMD_FINDMNT"
 
 ts_skip_nonroot
+ts_skip_docker
 
 # Let's use the same mountpoint for all subtests
 MNT=$TS_MOUNTPOINT
index 8d3e052ac1a3e8a14e8a60a5d1a1891707e77c5c..6a4d05b62e35ec138a8b602fc3a5f8a01e9314f3 100755 (executable)
@@ -11,6 +11,7 @@ ts_check_test_command "$TS_CMD_UMOUNT"
 ts_check_test_command "$TS_CMD_FINDMNT"
 
 ts_skip_nonroot
+ts_skip_docker
 
 ts_fstab_add "none" "$TS_MOUNTPOINT" "tmpfs" "rw,nosuid,nodev,relatime"
 
index cebcac7aa94ced8809e1e55864727e3742daa602..26b8f3d2a52e5a32a1b6cefba9320be39cc5eccf 100755 (executable)
@@ -27,6 +27,7 @@ ts_check_test_command "$TS_CMD_FINDMNT"
 ts_check_test_command "$TS_CMD_MOUNTPOINT"
 
 ts_skip_nonroot
+ts_skip_docker
 
 function mount_and_check {
        # last arg must be an existing or to-be-mounted mountpoint