From 8f8b085e29d073327e885c0cc0aca0022dbaefaf Mon Sep 17 00:00:00 2001 From: RE Date: Sun, 31 Dec 2023 03:00:16 +0900 Subject: [PATCH] re INPUT --- test/test.bash | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/test.bash b/test/test.bash index 55f9694..4d3528a 100755 --- a/test/test.bash +++ b/test/test.bash @@ -10,10 +10,10 @@ colcon build source $dir/.bashrc cd src/mypkg -# cat inputs.txt | read inpu -inpu = cat inputs.txt +# cat inputs.txt | read INPUT +INPUT = cat inputs.txt cd ../.. -(ros2 launch mypkg talk_listen.launch.py < $inpu ) > /tmp/mypkg.log +(ros2 launch mypkg talk_listen.launch.py < $INPUT ) > /tmp/mypkg.log cat /tmp/mypkg.log | grep 'Listen: 1'