]> sourceware.org Git - systemtap.git/commitdiff
systemtap.syscall tests do use + and * as metachars.
authorMark Wielaard <mjw@redhat.com>
Sun, 3 May 2009 06:05:43 +0000 (08:05 +0200)
committerMark Wielaard <mjw@redhat.com>
Sun, 3 May 2009 06:05:43 +0000 (08:05 +0200)
+ and * are metacharacters, but should always be used
as metacharacters in the expressions, don't escape them.

* testsuite/systemtap.syscall/test.tcl (run_one_test): Remove escaping
  of + and *.

testsuite/systemtap.syscall/test.tcl

index efe48d202949ba7e476ddf16f2b35a13240f731d..a458914bfdf4a63802b92138026f4614642b6061 100755 (executable)
@@ -58,8 +58,10 @@ proc run_one_test {filename flags} {
            regsub -all {\(} $line {\\(} line
            regsub -all {\)} $line {\\)} line
            regsub -all {\|} $line {\|} line
-           regsub -all {\+} $line {\\+} line
-           regsub -all {\*} $line {\\*} line
+           # + and * are metacharacters, but should always be used
+           # as metacharacters in the expressions, don't escape them.
+           #regsub -all {\+} $line {\\+} line
+           #regsub -all {\*} $line {\\*} line
            
            regsub -all NNNN $line {[\-0-9]+} line
            regsub -all XXXX $line {[x0-9a-fA-F]+} line
This page took 0.028289 seconds and 5 git commands to generate.