From 8a66cae8e596f5401da20e98715a21d7a7b8f1ed Mon Sep 17 00:00:00 2001 From: Masatake YAMATO Date: Wed, 17 Apr 2024 05:57:45 +0900 Subject: [PATCH] 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) --- tests/expected/lsns/ioctl_ns.err | 0 tests/ts/lsns/ioctl_ns | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 tests/expected/lsns/ioctl_ns.err 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 -- 2.47.3