All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Ensure test-genrandom availability for t5301/t5302
@ 2007-04-28 19:46 Dana How
  2007-04-28 22:32 ` Junio C Hamano
  0 siblings, 1 reply; 4+ messages in thread
From: Dana How @ 2007-04-28 19:46 UTC (permalink / raw)
  To: Junio C Hamano; +Cc: git, danahow


Check for this as well as test-chmtime in test-lib.sh

Signed-off-by: Dana L. How <danahow@gmail.com>
---
 t/test-lib.sh |   13 ++++++++-----
 1 files changed, 8 insertions(+), 5 deletions(-)

diff --git a/t/test-lib.sh b/t/test-lib.sh
index f2c6bd3..d7838fc 100644
--- a/t/test-lib.sh
+++ b/t/test-lib.sh
@@ -268,11 +268,14 @@ test -d ../templates/blt || {
 	error "You haven't built things yet, have you?"
 }
 
-if ! test -x ../test-chmtime; then
-	echo >&2 'You need to build test-chmtime:'
-	echo >&2 'Run "make test-chmtime" in the source (toplevel) directory'
-	exit 1
-fi
+for prog in test-chmtime test-genrandom
+do
+	if ! test -x ../$prog; then
+		echo >&2 "You need to build $prog:"
+		echo >&2 "Run \"make $prog\" in the source (toplevel) directory"
+		exit 1
+	fi
+done
 
 # Test repository
 test=trash
-- 
1.5.2.rc0.71.g4342-dirty

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-04-28 22:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-28 19:46 [PATCH] Ensure test-genrandom availability for t5301/t5302 Dana How
2007-04-28 22:32 ` Junio C Hamano
2007-04-28 22:36   ` Dana How
2007-04-28 22:48     ` Junio C Hamano

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.