diff options
author | Mike Frysinger <vapier@gentoo.org> | 2014-01-10 10:07:40 -0500 |
---|---|---|
committer | Andreas Gruenbacher <agruen@linbit.com> | 2014-01-13 13:18:39 +0100 |
commit | 2d13383b7fbcc04fc16681caa4f43d9d9083cca1 (patch) | |
tree | e849fbba37f8f3e2a446af0edde3305a0729ac82 /test/malformed-restore.test | |
parent | 602dbcb26e9591922ca94f5b326694a2309fff18 (diff) | |
download | acl-2d13383b7fbcc04fc16681caa4f43d9d9083cca1.tar.gz |
test: make running parallel/out-of-tree safe
Change the run program to update PATH to find the tools locally
automatically. This lets us avoid having to always build in the
tree and allows for direct running.
Also update the program to create a tempdir for each test to run
inside of. This way we can run all the tests in parallel without
randomly clobbering each other.
Diffstat (limited to 'test/malformed-restore.test')
-rw-r--r-- | test/malformed-restore.test | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/malformed-restore.test b/test/malformed-restore.test index e92b75b..5e5391c 100644 --- a/test/malformed-restore.test +++ b/test/malformed-restore.test @@ -1,7 +1,7 @@ Test for malformed input to --restore https://savannah.nongnu.org/bugs/index.php?28185 - $ cp malformed-restore-double-owner.acl tmp.acl + $ cp "%TESTDIR/malformed-restore-double-owner.acl" tmp.acl $ sed -i "s/USER/%TUSER/g" tmp.acl $ sed -i "s/GROUP/%TGROUP/g" tmp.acl $ touch tmp |