aboutsummaryrefslogtreecommitdiff
path: root/0.8.0/paludis/environment/default/default_environment_TEST_setup.sh
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-10-11 20:56:59 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-10-11 20:56:59 +0000
commite3b86134db7baada7b3a1e779e7d6d046ab53a1a (patch)
tree6acb3c0de68e1b95dbba8f0e00f770b8f31e4bac /0.8.0/paludis/environment/default/default_environment_TEST_setup.sh
parentab9cdb1150d97449e857cd55fe706377c9ab2422 (diff)
downloadpaludis-e3b86134db7baada7b3a1e779e7d6d046ab53a1a.tar.gz
paludis-e3b86134db7baada7b3a1e779e7d6d046ab53a1a.tar.xz
Tag release 0.8.00.8.0
Diffstat (limited to '0.8.0/paludis/environment/default/default_environment_TEST_setup.sh')
-rwxr-xr-x0.8.0/paludis/environment/default/default_environment_TEST_setup.sh80
1 files changed, 80 insertions, 0 deletions
diff --git a/0.8.0/paludis/environment/default/default_environment_TEST_setup.sh b/0.8.0/paludis/environment/default/default_environment_TEST_setup.sh
new file mode 100755
index 000000000..bb19c8a5b
--- /dev/null
+++ b/0.8.0/paludis/environment/default/default_environment_TEST_setup.sh
@@ -0,0 +1,80 @@
+#!/bin/bash
+# vim: set ft=sh sw=4 sts=4 et :
+
+mkdir default_environment_TEST_dir || exit 2
+cd default_environment_TEST_dir || exit 3
+
+mkdir -p repo/{profile,profiles,cat-one/pkg-one}
+cat <<END > repo/profiles/repo_name
+foo
+END
+cat <<END > repo/profiles/categories
+cat-one
+END
+cat <<END > repo/profile/make.defaults
+ARCH="foo"
+USE="moo"
+USE_EXPAND="EXP MORE_EXP THIRD_EXP"
+EXP="one"
+MORE_EXP="one"
+THIRD_EXP="one"
+END
+
+mkdir -p home1/.paludis/repositories
+cat <<END > home1/.paludis/use.conf
+* foo bar baz -fnord
+* EXP: two
+>=cat-one/pkg-two-2 THIRD_EXP: two
+END
+cat <<END > home1/.paludis/keywords.conf
+* keyword
+END
+cat <<END > home1/.paludis/licenses.conf
+* keyword
+END
+cat <<END > home1/.paludis/repositories/foo.conf
+format = portage
+location = `pwd`/repo
+profiles = `pwd`/repo/profile
+cache = /var/empty
+END
+
+mkdir -p home2/.paludis/repositories
+cat <<END > home2/.paludis/use.conf
+* -* foo bar baz -fnord
+* EXP: -* two
+>=cat-one/pkg-two-2 THIRD_EXP: -* two
+END
+cat <<END > home2/.paludis/keywords.conf
+* keyword
+END
+cat <<END > home2/.paludis/licenses.conf
+* *
+END
+cat <<END > home2/.paludis/repositories/foo.conf
+format = portage
+location = `pwd`/repo
+profiles = `pwd`/repo/profile
+cache = /var/empty
+END
+
+mkdir -p home3/.paludis/repositories
+cat <<END > home3/.paludis/use.conf
+* foo bar baz -fnord
+* EXP: -* two
+>=cat-one/pkg-two-2 THIRD_EXP: -* two
+END
+cat <<END > home3/.paludis/keywords.conf
+* keyword
+END
+cat <<END > home3/.paludis/licenses.conf
+* *
+END
+cat <<END > home3/.paludis/repositories/foo.conf
+format = portage
+location = `pwd`/repo
+profiles = `pwd`/repo/profile
+cache = /var/empty
+END
+
+