Permalink
Browse files

Don't use export FOO=bar syntax in runtests.sh

Solaris' shell can't run those. We can actually remove the variables
altogether since the tester/barnowl wrapper will take care of it. Also
make the error message in the latter more accurate.
  • Loading branch information...
1 parent 8219374 commit f5f6ec067fe480f0aed227fce942d421060bc498 @davidben davidben committed Jul 11, 2011
Showing with 1 addition and 6 deletions.
  1. +1 −1 barnowl
  2. +0 −5 runtests.sh
View
@@ -7,7 +7,7 @@ SRCDIR=`dirname "${0}"`
EXE="$0.bin"
if test ! -x "$EXE"; then
- echo "Cannot find barnowl.bin" >&2
+ echo "Cannot find $EXE" >&2
exit 1
fi
View
@@ -1,7 +1,2 @@
#!/bin/sh
-SRCDIR=`dirname "${0}"`
-
-export BARNOWL_DATA_DIR="$SRCDIR/perl/"
-export BARNOWL_BIN_DIR="$SRCDIR/"
-
HARNESS_PERL=./tester exec prove --failures t/

0 comments on commit f5f6ec0

Please sign in to comment.