[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Quilt-dev] [PATCH 3/3] test/run: Documentation update
From: |
Jean Delvare |
Subject: |
[Quilt-dev] [PATCH 3/3] test/run: Documentation update |
Date: |
Wed, 18 Dec 2013 14:18:16 +0100 |
* Remove the implemented features from the to-do list.
* Document the command line interface.
---
test/run | 14 ++++++++++----
1 file changed, 10 insertions(+), 4 deletions(-)
--- 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") {
--
Jean Delvare
Suse L3 Support