From 2a1273ec6edf866e24c220939933490217a2ebc0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABl=20PORTAY?= Date: Sat, 12 Oct 2024 18:28:31 +0200 Subject: [PATCH] tests: ish: test for opened fd existence --- tests/tests-ish.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/tests-ish.bash b/tests/tests-ish.bash index 9e0fd1ae..13fb98f3 100755 --- a/tests/tests-ish.bash +++ b/tests/tests-ish.bash @@ -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