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.42-start~376^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8a66cae8e596f5401da20e98715a21d7a7b8f1ed;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 (cherry picked from commit 82ecf6cf5495f43716fbe9d72411d8bd5994f75d) --- diff --git a/tests/expected/lsns/ioctl_ns.err b/tests/expected/lsns/ioctl_ns.err new file mode 100644 index 000000000..e69de29bb diff --git a/tests/ts/lsns/ioctl_ns b/tests/ts/lsns/ioctl_ns index 6f306d5b3..195962e86 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