summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruen@suse.de>2004-09-21 13:36:18 +0000
committerAndreas Gruenbacher <agruen@suse.de>2004-09-21 13:36:18 +0000
commit117e66f40d01d34d4be2336029f4a55b5d51d762 (patch)
treea8146580c2c384bfdf2c7f3c510a1af82cf22dad /test
parent0cabf722ff1fdee14c89cb9ceaffcd5134670bba (diff)
downloadquilt-117e66f40d01d34d4be2336029f4a55b5d51d762.tar.gz
- Series command: add missing paths to patches if
$QUILT_PATCHES_PREFIX is set. - test/run script: Add export and unset statements.
Diffstat (limited to 'test')
-rwxr-xr-xtest/run7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/run b/test/run
index 026263a..8d196a1 100755
--- a/test/run
+++ b/test/run
@@ -198,6 +198,13 @@ sub exec_test($$) {
return su($prog->[1]);
} elsif ($prog->[0] eq "sg") {
return sg($prog->[1]);
+ } elsif ($prog->[0] eq "export") {
+ my ($name, $value) = split /=/, prog->[1];
+ $ENV{$name} = $value;
+ return [];
+ } elsif ($prog->[0] eq "unset") {
+ delete $ENV{$name};
+ return [];
}
pipe *IN2, *OUT