summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2007-02-20 10:17:08 +0000
committerJean Delvare <khali@linux-fr.org>2007-02-20 10:17:08 +0000
commitdb51d46f254b07e68a079577cbc2b66f64efaadd (patch)
tree5deeca226c6c46d3793a91924c57b977789c1bc0 /test
parent34415c0c5d319d62b3cf804746092dfccc92a94c (diff)
downloadquilt-db51d46f254b07e68a079577cbc2b66f64efaadd.tar.gz
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.
Diffstat (limited to 'test')
-rwxr-xr-xtest/run1
1 files changed, 0 insertions, 1 deletions
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 /(?<!\\)\s+/, $line ];
$prog_line = $lineno;
$in = [];