aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/e/ebuild/exheres-0/list_functions.bash
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-06-18 15:18:13 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-06-19 16:47:01 +0100
commit726d87775ad381f4c38bf336e02437a9f3bed037 (patch)
tree60ca8a4160de31c8c60bde3e9468a9966a320e86 /paludis/repositories/e/ebuild/exheres-0/list_functions.bash
parent14cf12a2f28dec2a3f7b8b883838f4a801e1a4ce (diff)
downloadpaludis-726d87775ad381f4c38bf336e02437a9f3bed037.tar.gz
paludis-726d87775ad381f4c38bf336e02437a9f3bed037.tar.xz
expecting_tests
Diffstat (limited to 'paludis/repositories/e/ebuild/exheres-0/list_functions.bash')
-rw-r--r--paludis/repositories/e/ebuild/exheres-0/list_functions.bash8
1 files changed, 7 insertions, 1 deletions
diff --git a/paludis/repositories/e/ebuild/exheres-0/list_functions.bash b/paludis/repositories/e/ebuild/exheres-0/list_functions.bash
index e7d0dfdaa..ae8316e76 100644
--- a/paludis/repositories/e/ebuild/exheres-0/list_functions.bash
+++ b/paludis/repositories/e/ebuild/exheres-0/list_functions.bash
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
-# Copyright (c) 2006, 2007, 2008 Ciaran McCreesh
+# Copyright (c) 2006, 2007, 2008, 2011 Ciaran McCreesh
#
# Based in part upon ebuild.sh from Portage, which is Copyright 1995-2005
# Gentoo Foundation and distributed under the terms of the GNU General
@@ -93,3 +93,9 @@ hasq()
return 1
}
+expecting_tests()
+{
+ local r=$(paludis_pipe_command EXPECTING_TESTS "$EAPI" "${1:---any}" )
+ return ${r%%;*}
+}
+