Skip to content

Commit

Permalink
tests: ish: test for opened fd existence
Browse files Browse the repository at this point in the history
  • Loading branch information
gportay committed Oct 12, 2024
1 parent baab960 commit 2a1273e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/tests-ish.bash
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ fi
echo

run "ish: test option --debug-fd 100 sets debug fd"
if ( exec 100>&2 && ish --debug-fd 100 -c "env" | grep "^IAMROOT_DEBUG_FD=100$" )
if ( exec 100>&2 && ish --debug-fd 100 -c "env && readlink /proc/self/fd/100" | grep "^IAMROOT_DEBUG_FD=100$" )
then
ok
else
Expand Down

0 comments on commit 2a1273e

Please sign in to comment.