Skip to content

Commit

Permalink
Merge branch 'lsns--debug-ioctl_ns-test-for-master' of https://github…
Browse files Browse the repository at this point in the history
….com/masatake/util-linux

* 'lsns--debug-ioctl_ns-test-for-master' of https://github.com/masatake/util-linux:
  tests: (lsns::ioctl_ns) add more debug print
  tests: (lsns::ioctl_ns) record stdout/stderr for debugging the case
  • Loading branch information
karelzak committed Apr 29, 2024
2 parents 1c04b04 + a61106a commit 2f4a8fa
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Empty file.
6 changes: 5 additions & 1 deletion tests/ts/lsns/ioctl_ns
Expand Up @@ -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
Expand All @@ -92,10 +94,12 @@ init
echo
echo pidns expected: "$expected"
echo pidns actual: "$actual"
echo "$TS_CMD_LSNS":
LSNS_DEBUG=all "$TS_CMD_LSNS"
cleanup
fi
exit $RESULT
) &
) >> $TS_ERRLOG 2>&1 &
mainpid=$!
(
exec 4< $FIFO_WAIT
Expand Down

0 comments on commit 2f4a8fa

Please sign in to comment.