From f5311fb0759c5ffffa678ad8f5ec429553f00379 Mon Sep 17 00:00:00 2001 From: Shinnosuke Nonaka Date: Fri, 5 Jan 2024 07:29:21 +0900 Subject: [PATCH] fix --- test/test.bash | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/test/test.bash b/test/test.bash index 45797d7..f9257a7 100755 --- a/test/test.bash +++ b/test/test.bash @@ -16,10 +16,10 @@ ng() { res=0 -touch test.log +touch /tmp/test.log # Parrot-node -(ros2 run robosys2023ros parrot > test.log 2>&1)& +(ros2 run robosys2023ros parrot > /tmp/test.log 2>&1)& # Human-node { (sleep 4 ; echo "aiueo"; sleep 1; echo "123456789"; sleep 1; echo "a1b2c3d4e5") | ros2 run robosys2023ros human @@ -27,12 +27,12 @@ touch test.log sleep 20 -cat test.log +cat /tmp/test.log # Parrot-log -cat test.log | grep 'aiueo' || ng ${LINENO} -cat test.log | grep '123456789' || ng ${LINENO} -cat test.log | grep 'a1b2c3d4e5' || ng ${LINENO} +cat /tmp/test.log | grep 'aiueo' || ng ${LINENO} +cat /tmp/test.log | grep '123456789' || ng ${LINENO} +cat /tmp/test.log | grep 'a1b2c3d4e5' || ng ${LINENO} rm test.log echo ""