aboutsummaryrefslogtreecommitdiff
path: root/python/choices_TEST_setup.sh
diff options
context:
space:
mode:
Diffstat (limited to 'python/choices_TEST_setup.sh')
-rwxr-xr-xpython/choices_TEST_setup.sh22
1 files changed, 22 insertions, 0 deletions
diff --git a/python/choices_TEST_setup.sh b/python/choices_TEST_setup.sh
index 9a8b5b88e..8f1b94cc4 100755
--- a/python/choices_TEST_setup.sh
+++ b/python/choices_TEST_setup.sh
@@ -4,6 +4,28 @@
mkdir choices_TEST_dir || exit 1
cd choices_TEST_dir || exit 1
+mkdir -p home/.paludis/repositories
+
+cat <<END > home/.paludis/repositories/testrepo.conf
+location = `pwd`/testrepo
+format = e
+names_cache = /var/empty
+cache = /var/empty
+profiles = \${location}/profiles/testprofile
+builddir = `pwd`
+END
+
+cat <<END > home/.paludis/keywords.conf
+*/* test
+END
+cat <<END > home/.paludis/licenses.conf
+*/* *
+END
+
+cat <<END > home/.paludis/general.conf
+world = /dev/null
+END
+
mkdir -p testrepo/{eclass,distfiles,profiles/{testprofile,desc},foo/bar/files} || exit 1
cd testrepo || exit 1
echo "testrepo" > profiles/repo_name || exit 1