aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar David Leverton <levertond@googlemail.com> 2007-07-26 20:00:14 +0000
committerAvatar David Leverton <levertond@googlemail.com> 2007-07-26 20:00:14 +0000
commit8013d621d51886e7bd51896d37bc022edc898369 (patch)
tree7ed0f2f2dc34683ffceccbfbce14d8de0531958e
parent5f7f8b6e5442e7f8829a660aabce353681694af6 (diff)
downloadpaludis-8013d621d51886e7bd51896d37bc022edc898369.tar.gz
paludis-8013d621d51886e7bd51896d37bc022edc898369.tar.xz
Fix tests.
-rw-r--r--paludis/repositories/e/e_repository_TEST.cc2
-rwxr-xr-xpaludis/repositories/e/e_repository_TEST_setup.sh2
2 files changed, 4 insertions, 0 deletions
diff --git a/paludis/repositories/e/e_repository_TEST.cc b/paludis/repositories/e/e_repository_TEST.cc
index dac40ef..f5343a8 100644
--- a/paludis/repositories/e/e_repository_TEST.cc
+++ b/paludis/repositories/e/e_repository_TEST.cc
@@ -883,6 +883,7 @@ namespace test_cases
keys->insert("eapi_when_unspecified", "0");
keys->insert("profile_eapi", "0");
keys->insert("distdir", stringify(FSEntry::cwd() / "e_repository_TEST_dir" / "distdir"));
+ keys->insert("buildroot", stringify(FSEntry::cwd() / "e_repository_TEST_dir" / "build"));
tr1::shared_ptr<ERepository> repo(make_ebuild_repository(&env, keys));
env.package_database()->add_repository(1, repo);
@@ -955,6 +956,7 @@ namespace test_cases
keys->insert("eapi_when_unspecified", "exheres-0");
keys->insert("profile_eapi", "exheres-0");
keys->insert("distdir", stringify(FSEntry::cwd() / "e_repository_TEST_dir" / "distdir"));
+ keys->insert("buildroot", stringify(FSEntry::cwd() / "e_repository_TEST_dir" / "build"));
tr1::shared_ptr<ERepository> repo(make_ebuild_repository(&env, keys));
env.package_database()->add_repository(1, repo);
diff --git a/paludis/repositories/e/e_repository_TEST_setup.sh b/paludis/repositories/e/e_repository_TEST_setup.sh
index 41c83bb..568de7a 100755
--- a/paludis/repositories/e/e_repository_TEST_setup.sh
+++ b/paludis/repositories/e/e_repository_TEST_setup.sh
@@ -4,6 +4,8 @@
mkdir e_repository_TEST_dir || exit 1
cd e_repository_TEST_dir || exit 1
+mkdir -p build
+
mkdir -p distdir
echo "already fetched" > distdir/already-fetched.txt || exit 1