aboutsummaryrefslogtreecommitdiff
path: root/src/clients/paludis/install_TEST
diff options
context:
space:
mode:
Diffstat (limited to 'src/clients/paludis/install_TEST')
-rwxr-xr-xsrc/clients/paludis/install_TEST39
1 files changed, 0 insertions, 39 deletions
diff --git a/src/clients/paludis/install_TEST b/src/clients/paludis/install_TEST
deleted file mode 100755
index f59742c..0000000
--- a/src/clients/paludis/install_TEST
+++ /dev/null
@@ -1,39 +0,0 @@
-#!/usr/bin/env bash
-
-for c in vdb_config exndbam_config ; do
-
- PALUDIS_HOME=./install_TEST_dir/config-checks-always/ ./paludis --environment :install-test-$c \
- --list-packages || exit 12
-
- PALUDIS_HOME=./install_TEST_dir/config-checks-always/ ./paludis --environment :install-test-$c \
- --query test-category/target || exit 13
-
- PALUDIS_HOME=./install_TEST_dir/config-checks-always/ ./paludis --environment :install-test-$c \
- --has-version test-category/target && exit 1
- PALUDIS_HOME=./install_TEST_dir/config-checks-always/ ./paludis --environment :install-test-$c \
- --install target --resume-command-template `pwd`/install_TEST_dir/resume \
- && exit 2
- ( echo -n './paludis ' ; cut -d ' ' -f2- < install_TEST_dir/resume ) > install_TEST_dir/fixedresume
- cat install_TEST_dir/fixedresume
- PALUDIS_HOME=./install_TEST_dir/config-checks-none/ bash `pwd`/install_TEST_dir/fixedresume || exit 3
- ./install_TEST_dir/root/usr/bin/testbin | grep success >/dev/null || exit 4
- grep target install_TEST_dir/root/world-${c%_config} || exit 5
- PALUDIS_HOME=./install_TEST_dir/config-checks-always/ ./paludis --environment :install-test-$c \
- --has-version test-category/target || exit 6
- PALUDIS_HOME=./install_TEST_dir/config-checks-always/ ./paludis --environment :install-test-$c \
- --contents test-category/target || exit 12
- PALUDIS_HOME=./install_TEST_dir/config-checks-always/ ./paludis --environment :install-test-$c \
- --uninstall target || exit 7
- [[ -f ./install_TEST_dir/root/usr/bin/testbin ]] && exit 8
- PALUDIS_HOME=./install_TEST_dir/config-checks-always/ ./paludis --environment :install-test-$c \
- --has-version test-category/target && exit 9
- grep target install_TEST_dir/root/world-${c%_config} >/dev/null && exit 10
-
- PALUDIS_HOME=./install_TEST_dir/config-checks-always/ ./paludis --environment :install-test-$c \
- -qMD test-category/target || exit 11
-
- rm -fr install_TEST_dir/root/usr/{share/doc,bin}
-done
-
-true
-