From 97126608b937588a4ea6d5ac3018adae0f605c53 Mon Sep 17 00:00:00 2001 From: Sitaram Chamarty Date: Fri, 25 Jun 2010 20:10:55 +0530 Subject: [PATCH] (minor) fixes to test driver --- t/test-driver.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/t/test-driver.sh b/t/test-driver.sh index 416000d..8473d5b 100755 --- a/t/test-driver.sh +++ b/t/test-driver.sh @@ -30,13 +30,13 @@ hl() { # highlight function echo $normal fi } -pause() { echo pausing\; hit enter or ctrl-c...; read; } +pause() { echo pausing, "$@"\; hit enter or ctrl-c...; read; } capture() { cf=$1; shift; "$@" >& $TESTDIR/$cf; } editrc() { scp gitolite-test@localhost:.gitolite.rc ~/junk >/dev/null - perl -pi -e "print STDERR if /$1/ and s/=.*/= $2;/" ~/junk + perl -pi -e "print STDERR if not /^#/ and /$1/ and s/=.*/= $2;/" ~/junk scp ~/junk gitolite-test@localhost:.gitolite.rc >/dev/null }