diff options
author | 2008-11-03 21:12:56 +0000 | |
---|---|---|
committer | 2008-11-03 21:12:56 +0000 | |
commit | f8dcdd042e39d5f9b971d3dc362c58a1d13111e2 (patch) | |
tree | a74bbb56199821ce50d57338695bd1808d5b6c20 | |
parent | c7bb1db8bd85beb586821cc1714e8b7b8517f281 (diff) | |
download | paludis-f8dcdd042e39d5f9b971d3dc362c58a1d13111e2.tar.gz paludis-f8dcdd042e39d5f9b971d3dc362c58a1d13111e2.tar.xz |
...oops
-rwxr-xr-x | hooks/eselect_env_update_TEST | 4 | ||||
-rwxr-xr-x | hooks/news_TEST | 10 |
2 files changed, 7 insertions, 7 deletions
diff --git a/hooks/eselect_env_update_TEST b/hooks/eselect_env_update_TEST index f28516bcd..f908e10d6 100755 --- a/hooks/eselect_env_update_TEST +++ b/hooks/eselect_env_update_TEST @@ -1,7 +1,7 @@ #!/usr/bin/env bash # vim: set sw=4 sts=4 et : -# Copyright (c) 2007 Ciaran McCreesh +# Copyright (c) 2007, 2008 Ciaran McCreesh # # This file is part of the Paludis package manager. Paludis is free software; # you can redistribute it and/or modify it under the terms of the GNU General @@ -23,7 +23,7 @@ eselect_env_update_TEST() mkdir -p eselect_env_update_TEST_dir/{etc,lib,var/run} touch eselect_env_update_TEST_dir/etc/ld.so.conf - ${TOP_SRCDIR}/hooks/eselect_env_update.bash >/dev/null ; test_return_code + ${TOP_BUILDDIR}/hooks/eselect_env_update.bash >/dev/null ; test_return_code [[ -f eselect_env_update_TEST_dir/etc/ld.so.cache ]] \ || [[ -f eselect_env_update_TEST/var/run/ld-elf.so.hints ]] ; test_return_code diff --git a/hooks/news_TEST b/hooks/news_TEST index 9abaf6e1f..54c609887 100755 --- a/hooks/news_TEST +++ b/hooks/news_TEST @@ -1,7 +1,7 @@ #!/usr/bin/env bash # vim: set sw=4 sts=4 et : -# Copyright (c) 2007 Ciaran McCreesh +# Copyright (c) 2007, 2008 Ciaran McCreesh # # This file is part of the Paludis package manager. Paludis is free software; # you can redistribute it and/or modify it under the terms of the GNU General @@ -23,8 +23,8 @@ news_none_TEST() export HOOK=sync_all_post export PALUDIS_HOME=`pwd`/news_TEST_dir/one - bash ${PALUDIS_HOOKER_DIR}/hooker.bash ${TOP_SRCDIR}/hooks/news.hook hook_run_sync_all_post >/dev/null ; test_return_code - bash ${PALUDIS_HOOKER_DIR}/hooker.bash ${TOP_SRCDIR}/hooks/news.hook hook_run_sync_all_post \ + bash ${PALUDIS_HOOKER_DIR}/hooker.bash ${TOP_BUILDDIR}/hooks/news.hook hook_run_sync_all_post >/dev/null ; test_return_code + bash ${PALUDIS_HOOKER_DIR}/hooker.bash ${TOP_BUILDDIR}/hooks/news.hook hook_run_sync_all_post \ | grep "No unread news items found" >/dev/null ; test_return_code } @@ -35,8 +35,8 @@ news_one_TEST() export HOOK=sync_all_post export PALUDIS_HOME=`pwd`/news_TEST_dir/two - bash ${PALUDIS_HOOKER_DIR}/hooker.bash ${TOP_SRCDIR}/hooks/news.hook hook_run_sync_all_post 2>/dev/null ; test_return_code - bash ${PALUDIS_HOOKER_DIR}/hooker.bash ${TOP_SRCDIR}/hooks/news.hook hook_run_sync_all_post 2>&1 \ + bash ${PALUDIS_HOOKER_DIR}/hooker.bash ${TOP_BUILDDIR}/hooks/news.hook hook_run_sync_all_post 2>/dev/null ; test_return_code + bash ${PALUDIS_HOOKER_DIR}/hooker.bash ${TOP_BUILDDIR}/hooks/news.hook hook_run_sync_all_post 2>&1 \ | grep "You have 1 unread news item" >/dev/null ; test_return_code } |