summaryrefslogtreecommitdiffstats
path: root/test/run
diff options
context:
space:
mode:
authorJean Delvare <jdelvare@suse.de>2013-12-20 22:36:29 +0100
committerJean Delvare <jdelvare@suse.de>2013-12-20 22:36:29 +0100
commitff1a59bd27103908a139e7ccf652fc41ab49b9d9 (patch)
tree5d222ce50757c5173df081b0aba2f5db0687cbe6 /test/run
parentc0b75c03892e72d491dcbe448ff95c3ead43ff8b (diff)
downloadquilt-ff1a59bd27103908a139e7ccf652fc41ab49b9d9.tar.gz
test/run: Documentation update
* Remove the implemented features from the to-do list. * Document the command line interface.
Diffstat (limited to 'test/run')
-rwxr-xr-xtest/run14
1 files changed, 10 insertions, 4 deletions
diff --git a/test/run b/test/run
index 64279ec..4e1216a 100755
--- a/test/run
+++ b/test/run
@@ -31,11 +31,19 @@
# Possible improvements:
#
# - distinguish stdout and stderr output
-# - add environment variable like assignments
-# - run up to a specific line
# - resume at a specific line
#
+#
+# Command line parameters:
+#
+# -l N Stop the test after line N
+# -q Quiet mode: buffer the output while processing and print the
+# result at the end; on success, only the summary is printed
+# -v Verbose mode: print the output of successful commands (by
+# default the output is only printed for failed commands)
+#
+
use strict;
use FileHandle;
use Getopt::Std;
@@ -277,8 +285,6 @@ sub exec_test($$) {
return sg($prog->[1]);
} elsif ($prog->[0] eq "export") {
my ($name, $value) = split /=/, $prog->[1];
- # FIXME: need to evaluate $value, so that things like this will work:
- # export dir=$PWD/dir
$ENV{$name} = $value;
return 0, [];
} elsif ($prog->[0] eq "unset") {