]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
Revert "tests: use KNOWN_FAIL for lsns/ioctl_ns"
authorThomas Weißschuh <thomas@t-8ch.de>
Sun, 25 Dec 2022 05:28:59 +0000 (05:28 +0000)
committerThomas Weißschuh <thomas@t-8ch.de>
Sun, 25 Dec 2022 05:30:08 +0000 (05:30 +0000)
The check introduced in 249ba69c introduced a proper feature check.

This reverts commit 857038d4512a5f2e9a1fd4a3d89c2c27eae456fd.

tests/ts/lsns/ioctl_ns

index 7fc998bc067f7cf341f958fa2c291fc888b92190..6f306d5b39bdb473ec79ab3cefe4f386de120abf 100755 (executable)
@@ -39,15 +39,6 @@ if [ $? -eq 2 ]; then
        ts_skip "ioctl not supported"
 fi
 
-# 32bit userspace (NS ioctls) does not work as expected with 64bit kernel
-WORDSIZE=$($TS_HELPER_SYSINFO WORDSIZE)
-if [ $WORDSIZE -eq 32 ]; then
-       uname -m | grep -q 64
-       if [ $? -eq 0 ]; then
-               TS_KNOWN_FAIL="yes"
-       fi
-fi
-
 $TS_CMD_UNSHARE --user --pid --mount-proc --fork true &> /dev/null || ts_skip "no namespace support"
 
 ts_cd "$TS_OUTDIR"