summaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp')
-rw-r--r--cpp/examples/pub-sub/verify_python_cpp.in8
-rwxr-xr-xcpp/examples/verify1
-rwxr-xr-xcpp/examples/verify_all2
3 files changed, 6 insertions, 5 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