diff options
author | Mike Frysinger <vapier@gentoo.org> | 2011-03-01 05:00:25 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2011-03-01 05:00:25 +0000 |
commit | b6b34f730bd47de10d44f5b4d6eb02c873e0aae3 (patch) | |
tree | e6dd12213cc4e7eae73be929f8e95ff68bf3a2d8 /tests/install | |
parent | add common test init code (diff) | |
download | portage-utils-b6b34f730bd47de10d44f5b4d6eb02c873e0aae3.tar.gz portage-utils-b6b34f730bd47de10d44f5b4d6eb02c873e0aae3.tar.bz2 portage-utils-b6b34f730bd47de10d44f5b4d6eb02c873e0aae3.zip |
use new common code
Diffstat (limited to 'tests/install')
-rwxr-xr-x | tests/install/dotest | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/tests/install/dotest b/tests/install/dotest index 91658e5e..a25bbdc4 100755 --- a/tests/install/dotest +++ b/tests/install/dotest @@ -1,11 +1,8 @@ #!/bin/bash -die() { - echo "FAILED: $*" - exit 1 -} +. ../init.sh -cp ../../q . +ln -f `which q` ./q -i || die "./q -i" applets=$(./q -Ch | \ @@ -17,5 +14,6 @@ applets=$(./q -Ch | \ for app in ${applets} ; do [ ! -e $app ] && die "$app does not exist" done -echo "PASSED" -exit 0 +rm ${applets} + +pass |