All of lore.kernel.org
 help / color / mirror / Atom feed
* [LTP] [COMMITTED] test_children_cleanup: fix redirection issue in shell
@ 2022-02-13  3:19 Li Wang
  0 siblings, 0 replies; only message in thread
From: Li Wang @ 2022-02-13  3:19 UTC (permalink / raw)
  To: ltp

Signed-off-by: Li Wang <liwang@redhat.com>
---
 lib/newlib_tests/test_children_cleanup.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/newlib_tests/test_children_cleanup.sh b/lib/newlib_tests/test_children_cleanup.sh
index 2a84c3d85..4b4e8b2f0 100755
--- a/lib/newlib_tests/test_children_cleanup.sh
+++ b/lib/newlib_tests/test_children_cleanup.sh
@@ -3,7 +3,7 @@
 # Copyright (c) 2022 SUSE LLC <mdoucha@suse.cz>
 
 TMPFILE="/tmp/ltp_children_cleanup_$$.log"
-./test_children_cleanup &>"$TMPFILE"
+./test_children_cleanup 1>$TMPFILE 2>&1
 CHILD_PID=`sed -n 's/^.*Forked child \([0-9]*\)$/\1/p' "$TMPFILE"`
 rm "$TMPFILE"
 
-- 
2.31.1


-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2022-02-13  3:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-13  3:19 [LTP] [COMMITTED] test_children_cleanup: fix redirection issue in shell Li Wang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.