summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Pokorný <jpokorny@redhat.com>2013-07-23 22:11:31 +0200
committerJan Pokorný <jpokorny@redhat.com>2013-07-23 22:11:31 +0200
commite57b1df676b6f0a441028e78b3b4366e82d8048a (patch)
tree427b91dd0734566ce2972c872cb6a0a80b6f1dd6
parent57bff828aa91d0dcc6f30926f574d7e89c54f49d (diff)
downloadbz987158-workaround-e57b1df676b6f0a441028e78b3b4366e82d8048a.tar.gz
bz987158-workaround-e57b1df676b6f0a441028e78b3b4366e82d8048a.tar.xz
bz987158-workaround-e57b1df676b6f0a441028e78b3b4366e82d8048a.zip
Debug output to stderr rather than stdout
Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
-rw-r--r--bz987158.exp4
1 files changed, 2 insertions, 2 deletions
diff --git a/bz987158.exp b/bz987158.exp
index af1fe7b..77e3a61 100644
--- a/bz987158.exp
+++ b/bz987158.exp
@@ -25,8 +25,8 @@ log_user 0
spawn sh -c "$valgrind --track-origins=yes --gen-suppressions=yes -- $cmd $args 2>&1"
expect {
-re ".*($searchfor).*" {
- #puts "Setting suppression for: $expect_out(1,string)\r"
- #puts "Whole block:\r$expect_out(0,string)\r"
+ #send_error "Setting suppression for: $expect_out(1,string)\r"
+ #send_error "Whole block:\r$expect_out(0,string)\r"
expect "*Print suppression" {send "y\r"}
expect "*{" {puts "\{"}
expect "<insert_a_suppression_name_here>" {