diff options
-rw-r--r-- | cpp/examples/pub-sub/verify_python_cpp.in | 8 | ||||
-rwxr-xr-x | cpp/examples/verify | 1 | ||||
-rwxr-xr-x | cpp/examples/verify_all | 2 | ||||
-rw-r--r-- | python/examples/pubsub/verify.in | 26 |
4 files changed, 19 insertions, 18 deletions
diff --git a/cpp/examples/pub-sub/verify_python_cpp.in b/cpp/examples/pub-sub/verify_python_cpp.in index 52e8db9d72..f2871eb743 100644 --- a/cpp/examples/pub-sub/verify_python_cpp.in +++ b/cpp/examples/pub-sub/verify_python_cpp.in @@ -5,6 +5,10 @@ Declaring queue: news Declaring queue: usa Declaring queue: weather Listening for messages ... +Message: That's all, folks! from europe +Message: That's all, folks! from news +Message: That's all, folks! from usa +Message: That's all, folks! from weather Message: europe.news 0 from europe Message: europe.news 0 from news Message: europe.news 1 from europe @@ -25,10 +29,6 @@ Message: europe.weather 3 from europe Message: europe.weather 3 from weather Message: europe.weather 4 from europe Message: europe.weather 4 from weather -Message: That's all, folks! from europe -Message: That's all, folks! from news -Message: That's all, folks! from usa -Message: That's all, folks! from weather Message: usa.news 0 from news Message: usa.news 0 from usa Message: usa.news 1 from news diff --git a/cpp/examples/verify b/cpp/examples/verify index 43e1206a0c..9a1ed078d6 100755 --- a/cpp/examples/verify +++ b/cpp/examples/verify @@ -19,6 +19,7 @@ # under the License. # +export LC_ALL=C # Driver script to verify installed examples (also used for build tests.) # diff --git a/cpp/examples/verify_all b/cpp/examples/verify_all index baffd422ad..9d71c7498a 100755 --- a/cpp/examples/verify_all +++ b/cpp/examples/verify_all @@ -48,7 +48,7 @@ if test -z "$exclude_regexp"; then run_examples=$all_examples else for f in $all_examples; do - { cat $f | grep $exclude_regexp > /dev/null ; } || run_examples="$run_examples $f" + { echo $f | grep $exclude_regexp > /dev/null ; } || run_examples="$run_examples $f" done fi $verify $topsrcdir $topbuilddir $run_examples diff --git a/python/examples/pubsub/verify.in b/python/examples/pubsub/verify.in index 1b74acd832..ac1506b324 100644 --- a/python/examples/pubsub/verify.in +++ b/python/examples/pubsub/verify.in @@ -1,5 +1,18 @@ ==== topic_publisher.py.out ==== topic_subscriber.py.out | remove_uuid | sort +Messages on 'europe' queue: +Messages on 'news' queue: +Messages on 'usa' queue: +Messages on 'weather' queue: +Queues created - please start the topic producer +Subscribing local queue 'local_europe' to europe-' +Subscribing local queue 'local_news' to news-' +Subscribing local queue 'local_usa' to usa-' +Subscribing local queue 'local_weather' to weather-' +That's all, folks! +That's all, folks! +That's all, folks! +That's all, folks! europe.news 0 europe.news 0 europe.news 1 @@ -20,19 +33,6 @@ europe.weather 3 europe.weather 3 europe.weather 4 europe.weather 4 -Messages on 'europe' queue: -Messages on 'news' queue: -Messages on 'usa' queue: -Messages on 'weather' queue: -Queues created - please start the topic producer -Subscribing local queue 'local_europe' to europe-' -Subscribing local queue 'local_news' to news-' -Subscribing local queue 'local_usa' to usa-' -Subscribing local queue 'local_weather' to weather-' -That's all, folks! -That's all, folks! -That's all, folks! -That's all, folks! usa.news 0 usa.news 0 usa.news 1 |