From a70120a3df605e0bca09e6bea14be874dcc93d3f Mon Sep 17 00:00:00 2001 From: Sitaram Chamarty Date: Sat, 27 Aug 2011 22:00:09 +0530 Subject: [PATCH] (minor) test driver revert; debugging code had snuck in... --- t/test-driver.sh | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/t/test-driver.sh b/t/test-driver.sh index 833deee..ae88c5a 100755 --- a/t/test-driver.sh +++ b/t/test-driver.sh @@ -117,9 +117,7 @@ expect_filesame() { die() { echo '***** AAAAARRRGGH! *****' >&2 echo ${BASH_LINENO[1]} ${BASH_SOURCE[2]} >&2 - cd $TESTDIR - vim +${BASH_LINENO[1]} '+r !head ~/1 ~/2 /dev/null' ${BASH_SOURCE[2]} - + echo "vim +${BASH_LINENO[1]} \'+r !head ~/1 ~/2 /dev/null\' ${BASH_SOURCE[2]}" >&2 exit 1 } @@ -128,7 +126,6 @@ expect() { then ok else - die foo notok "expecting: $1, got:" cat ~/1 ~/2|sed -e 's/^/# /' fi @@ -137,7 +134,6 @@ expect() { notexpect() { if cat ~/1 ~/2 | grep "$1" >/dev/null then - die foo notok "NOT expecting: $1, got:" cat ~/1 ~/2|sed -e 's/^/# /' else