diff options
author | Brandon Philips <brandon@ifup.org> | 2009-02-23 00:40:21 +0100 |
---|---|---|
committer | Andreas Gruenbacher <agruen@suse.de> | 2009-02-23 02:36:41 +0100 |
commit | da86c6dec3c7273b693864a25fa3a1af4e6ecd9b (patch) | |
tree | 5e4269825e930a49208a5a4be850dd504a8e49f7 /test | |
parent | 8250c29bb6c51b7bb9292fe2052db92cfdc0824d (diff) | |
download | acl-da86c6dec3c7273b693864a25fa3a1af4e6ecd9b.tar.gz |
Create two ENV variables TUSER and TGROUP to get the user/group running the test
Signed-off-by: Brandon Philips <bphilips@suse.de>
Signed-off-by: Andreas Gruenbacher <agruen@suse.de>
Diffstat (limited to 'test')
-rwxr-xr-x | test/run | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -53,6 +53,9 @@ if (isatty(fileno(STDOUT))) { $FAILED = "\033[31m\033[1m" . $FAILED . "\033[m"; } +$ENV{"TUSER"} = getpwuid($>); +$ENV{"TGROUP"} = getgrgid($)); + sub exec_test($$); sub process_test($$$$); |