aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-04-29 14:53:34 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-04-29 14:53:34 +0000
commit77a5e7c20ba9959e3b9cd0cf55aea6c652fcd4c3 (patch)
tree324b5674c07d42080bf71ca21b3c15652388b0ce /src
parentca5e22d2e472d1ec99db3c2733b7c657d0f63020 (diff)
downloadpaludis-77a5e7c20ba9959e3b9cd0cf55aea6c652fcd4c3.tar.gz
paludis-77a5e7c20ba9959e3b9cd0cf55aea6c652fcd4c3.tar.xz
Fix uninstall world updates
Diffstat (limited to 'src')
-rwxr-xr-xsrc/clients/paludis/install_TEST13
1 files changed, 10 insertions, 3 deletions
diff --git a/src/clients/paludis/install_TEST b/src/clients/paludis/install_TEST
index f9abfdad7..1929ad7dc 100755
--- a/src/clients/paludis/install_TEST
+++ b/src/clients/paludis/install_TEST
@@ -1,11 +1,18 @@
#!/bin/bash
-PALUDIS_HOME=./install_TEST_dir/config/ ./paludis --config-suffix install-test \
+PALUDIS_HOME=./install_TEST_dir/config/ ./paludis --environment :install-test \
--has-version test-category/target && exit 1
-PALUDIS_HOME=./install_TEST_dir/config/ ./paludis --config-suffix install-test \
+PALUDIS_HOME=./install_TEST_dir/config/ ./paludis --environment :install-test \
--install target || exit 2
./install_TEST_dir/root/usr/bin/testbin | grep success >/dev/null || exit 3
grep target install_TEST_dir/root/var/db/pkg/world >/dev/null || exit 4
-PALUDIS_HOME=./install_TEST_dir/config/ ./paludis --config-suffix install-test \
+PALUDIS_HOME=./install_TEST_dir/config/ ./paludis --environment :install-test \
--has-version test-category/target || exit 5
+PALUDIS_HOME=./install_TEST_dir/config/ ./paludis --environment :install-test \
+ --uninstall target || exit 6
+[[ -f ./install_TEST_dir/root/usr/bin/testbin ]] && exit 7
+PALUDIS_HOME=./install_TEST_dir/config/ ./paludis --environment :install-test \
+ --has-version test-category/target && exit 8
+grep target install_TEST_dir/root/var/db/pkg/world >/dev/null && exit 9
+true