aboutsummaryrefslogtreecommitdiff
path: root/hooks
diff options
context:
space:
mode:
authorAvatar David Leverton <levertond@googlemail.com> 2008-03-25 20:49:49 +0000
committerAvatar David Leverton <levertond@googlemail.com> 2008-03-25 20:49:49 +0000
commite7be5401332cddbfc64f41842110286205926936 (patch)
tree00a6afa81d33119474e61fc18bfbaea6313add1a /hooks
parent419cc831c729147b9c986c15f62db163705e1e5f (diff)
downloadpaludis-e7be5401332cddbfc64f41842110286205926936.tar.gz
paludis-e7be5401332cddbfc64f41842110286205926936.tar.xz
Make echo_functions stdout/stderr behaviour match portage more closely, and make pioto happy.
Diffstat (limited to 'hooks')
-rwxr-xr-xhooks/news_TEST4
1 files changed, 2 insertions, 2 deletions
diff --git a/hooks/news_TEST b/hooks/news_TEST
index 4b77cf845..c9a858695 100755
--- a/hooks/news_TEST
+++ b/hooks/news_TEST
@@ -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 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_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 \
| grep "No unread news items found" >/dev/null ; test_return_code
}