From db51d46f254b07e68a079577cbc2b66f64efaadd Mon Sep 17 00:00:00 2001 From: Jean Delvare Date: Tue, 20 Feb 2007 10:17:08 +0000 Subject: test/run: Don't attempt to remove comments from command lines. We don't put such comments in our test cases, and it prevents legitimate uses of the "#" character (e.g. in a string, inside quotes) in commands. --- quilt.changes | 8 ++++++++ test/run | 1 - 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/quilt.changes b/quilt.changes index a14c0e0..d97a448 100644 --- a/quilt.changes +++ b/quilt.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Tue Feb 20 11:12:05 CET 2007 - khali@linux-fr.org + +- test/run: Don't attempt to remove comments from command lines. + We don't put such comments in our test cases, and it prevents + legitimate uses of the "#" character (e.g. in a string, inside + quotes) in commands. + ------------------------------------------------------------------- Tue Feb 13 21:09:37 CET 2007 - khali@linux-fr.org diff --git a/test/run b/test/run index 360739e..6d46566 100755 --- a/test/run +++ b/test/run @@ -55,7 +55,6 @@ for (;;) { $prog_line = 0; } if ($line =~ s/^\s*\$ ?//) { - $line =~ s/\s+#.*//; # remove comments here... $prog = [ map { s/\\(.)/$1/g; $_ } split /(?