]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
tests: (lsns::ioctl_ns) add more debug print
authorMasatake YAMATO <yamato@redhat.com>
Tue, 16 Apr 2024 22:49:40 +0000 (07:49 +0900)
committerMasatake YAMATO <yamato@redhat.com>
Thu, 25 Apr 2024 17:20:13 +0000 (02:20 +0900)
Signed-off-by: Masatake YAMATO <yamato@redhat.com>
(cherry picked from commit 380120a07154d9447edc703d628416c717493b7d)

tests/ts/lsns/ioctl_ns

index 195962e868a7c4a1f9c5cc9a64069df55f8cc9f2..7ab192bbcc5abe1d7c45d69fe2b22b07352e34ed 100755 (executable)
@@ -80,6 +80,8 @@ init
        echo
        echo userns expected: "$expected"
        echo userns actual:   "$actual"
+       echo "$TS_CMD_LSNS":
+       LSNS_DEBUG=all "$TS_CMD_LSNS"
        cleanup
        exit $RESULT
     fi
@@ -92,6 +94,8 @@ init
        echo
        echo pidns expected: "$expected"
        echo pidns actual:   "$actual"
+       echo "$TS_CMD_LSNS":
+       LSNS_DEBUG=all "$TS_CMD_LSNS"
        cleanup
     fi
     exit $RESULT