diff options
author | Andreas Gruenbacher <agruen@suse.de> | 2004-09-21 13:36:18 +0000 |
---|---|---|
committer | Andreas Gruenbacher <agruen@suse.de> | 2004-09-21 13:36:18 +0000 |
commit | 117e66f40d01d34d4be2336029f4a55b5d51d762 (patch) | |
tree | a8146580c2c384bfdf2c7f3c510a1af82cf22dad /test/run | |
parent | 0cabf722ff1fdee14c89cb9ceaffcd5134670bba (diff) | |
download | quilt-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/run')
-rwxr-xr-x | test/run | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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 |