summaryrefslogtreecommitdiffstats
path: root/testsuite
diff options
context:
space:
mode:
authorWilliam Cohen <wcohen@redhat.com>2010-01-13 23:23:26 -0500
committerWilliam Cohen <wcohen@redhat.com>2010-01-13 23:23:26 -0500
commit95fe80a2100221faeb269c7d8319567def08295e (patch)
tree3a65cbc3129482f0224f882511444cfa8c90ee4e /testsuite
parentcc52276b5ecd4501271d3846ad3519c7db03b54f (diff)
parent3c5b8e2b99a772e3d19d6c4bf26b3a06037523a4 (diff)
downloadsystemtap-steved-95fe80a2100221faeb269c7d8319567def08295e.tar.gz
systemtap-steved-95fe80a2100221faeb269c7d8319567def08295e.tar.xz
systemtap-steved-95fe80a2100221faeb269c7d8319567def08295e.zip
Merge branch 'master' of ssh://sources.redhat.com/git/systemtap
Diffstat (limited to 'testsuite')
-rw-r--r--testsuite/systemtap.server/server_args.exp3
1 files changed, 2 insertions, 1 deletions
diff --git a/testsuite/systemtap.server/server_args.exp b/testsuite/systemtap.server/server_args.exp
index 015026e7..f30b8b5f 100644
--- a/testsuite/systemtap.server/server_args.exp
+++ b/testsuite/systemtap.server/server_args.exp
@@ -20,6 +20,7 @@ proc stap_direct_and_with_client {stap stap_client options} {
# recursively passes it to the tcl interpreter. Special
# characters need to be quoted.
regsub -all "\[\"\\\\;\]" $options {\\\0} options
+ regsub -all "\[\n\]" $options {\\n} options
verbose -log "eval exec $stap $options"
catch {eval exec $stap $options} res_stap
@@ -140,7 +141,7 @@ foreach options $previously_fixed {
# Check that running systemtap with the client/server generates output
# comparable to running stap directly.
set dangerous_options [list "-I" "-R" "-e" "-B" "-D" "-c"]
-set argchars "0123456789;*'=-\\\" abcdefghijklmnopqrstuvwxyz"
+set argchars "0123456789;*'=-\\\"\n abcdefghijklmnopqrstuvwxyz"
for {set i 0} {$i < $iterations} {incr i} {
verbose -log "Iteration $i"