Skip to content

Commit

Permalink
re cat ///
Browse files Browse the repository at this point in the history
  • Loading branch information
RE committed Dec 30, 2023
1 parent cf6eebe commit 87ed0f9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/test.bash
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,10 @@ colcon build
source $dir/.bashrc

cd src/mypkg
cat inputs.txt | read input
# cat inputs.txt | read input
input = cat inputs.txt
cd ../..
(ros2 launch mypkg talk_listen.launch.py < $input ) >> /tmp/mypkg.log
(ros2 launch mypkg talk_listen.launch.py < $input ) > /tmp/mypkg.log

cat /tmp/mypkg.log |
grep 'Listen: 1'

0 comments on commit 87ed0f9

Please sign in to comment.