diff options
Diffstat (limited to 'test/main')
-rwxr-xr-x | test/main | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -11,10 +11,11 @@ function stringcmp { diff -u <(echo $1) <(echo $2) } +mkdir -p /tmp/cttest tests=$PWD/test -test_pdir=$(mktemp -dt pkgdir.XXXXXX) -test_proot=$(mktemp -dt pkgroot.XXXXXX) -test_home=$(mktemp -dt pkghome.XXXXXX) +test_pdir=$(mktemp -d /tmp/cttest/pkgdir.XXXXXX) +test_proot=$(mktemp -d /tmp/cttest/pkgroot.XXXXXX) +test_home=$(mktemp -d /tmp/cttest/pkghome.XXXXXX) export PATH=$PWD/bin:$PATH @@ -31,7 +32,7 @@ source $tests/checklinks (source $tests/setup) echo "# bootstrapping PKG_DIR" -$test_proot/caretaker/examples/bootstrap $test_proot $test_pdir +$test_proot/caretaker/examples/bootstrap file '' '' $test_proot $test_pdir echo "# checking for success" [[ -e $test_home/.config/caretaker/caretaker.conf ]] |