From: Masatake YAMATO Date: Tue, 16 Apr 2024 20:57:45 +0000 (+0900) Subject: tests: (lsns::ioctl_ns) record stdout/stderr for debugging the case X-Git-Tag: v2.40.1-rc1~23 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=82ecf6cf5495f43716fbe9d72411d8bd5994f75d;p=thirdparty%2Futil-linux.git tests: (lsns::ioctl_ns) record stdout/stderr for debugging the case When the test case runs successfully, we expect the case test prints nothing to stderr. If something is printed to stderr, it helps us debug lsns command and the test case. Signed-off-by: Masatake YAMATO --- diff --git a/tests/expected/lsns/ioctl_ns.err b/tests/expected/lsns/ioctl_ns.err new file mode 100644 index 0000000000..e69de29bb2 diff --git a/tests/ts/lsns/ioctl_ns b/tests/ts/lsns/ioctl_ns index 6f306d5b39..195962e868 100755 --- a/tests/ts/lsns/ioctl_ns +++ b/tests/ts/lsns/ioctl_ns @@ -95,7 +95,7 @@ init cleanup fi exit $RESULT -) & +) >> $TS_ERRLOG 2>&1 & mainpid=$! ( exec 4< $FIFO_WAIT