summaryrefslogtreecommitdiff
path: root/test/main
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2009-04-12 12:37:04 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2009-04-12 12:37:04 +0200
commit57d5db7d4e42a29a9205ac101a2119bcdac8a03c (patch)
tree987d48e0390cf84da1d1616ab2583bbb1da47a58 /test/main
parente483ca59a6ed91f584b4e889a8b4ab79cc199183 (diff)
Added support and tests for a package directory outside of /home
Diffstat (limited to 'test/main')
-rwxr-xr-xtest/main3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/main b/test/main
index 62bc7b6..ada8709 100755
--- a/test/main
+++ b/test/main
@@ -43,6 +43,8 @@ echo "# checking for success"
[[ -d $test_pdir/core ]]
[[ -L $test_home/bin/pkg ]]
[[ -L $test_home/bin/checklinks ]]
+[[ -x $(readlink $test_home/bin/pkg) ]]
+[[ -x $(readlink $test_home/bin/checklinks) ]]
echo "# pkg list local"
stringcmp "core" "$(pkg list)"
@@ -70,6 +72,7 @@ echo "# pkg add (already installed)"
echo "# populate_collected (~/bin)"
[[ -L $test_home/bin/ra ]]
+[[ -x $(readlink $test_home/bin/ra) ]]
repeat 2 {
echo "# pkg list"