diff --git a/jsk_tools/test/sh/rossetip.sh b/jsk_tools/test/sh/rossetip.sh index f1654f2bc..0bf57ced9 100755 --- a/jsk_tools/test/sh/rossetip.sh +++ b/jsk_tools/test/sh/rossetip.sh @@ -7,5 +7,5 @@ ECHO_OUTPUT="$1" ip() { echo "$ECHO_OUTPUT" } -CATKIN_SHELL="bash" -rossetip +rossetip > /dev/null 2>&1 +echo $ROS_IP diff --git a/jsk_tools/test/sh/rossetmaster.sh b/jsk_tools/test/sh/rossetmaster.sh new file mode 100755 index 000000000..e159275de --- /dev/null +++ b/jsk_tools/test/sh/rossetmaster.sh @@ -0,0 +1,7 @@ +#!/bin/bash + +_THIS_DIR=$(builtin cd "`dirname "${BASH_SOURCE[0]}"`" > /dev/null && pwd) +source $_THIS_DIR/../../env-hooks/99.jsk_tools.bash + +rossetmaster "$1" "${2-11311}" > /dev/null 2>&1 +echo $ROS_MASTER_URI diff --git a/jsk_tools/test/test_env_hooks.test b/jsk_tools/test/test_env_hooks.test index 4e3e8aa6d..5cf7a5573 100644 --- a/jsk_tools/test/test_env_hooks.test +++ b/jsk_tools/test/test_env_hooks.test @@ -4,46 +4,41 @@ name="test_rossetip0" pkg="jsk_tools" type="test_stdout.py"> - - + + - - + + - - + + - - + + - - - - - - - + +