comparison tests/test-mq @ 11208:2313dc4d9817

tests: fix bashism to load helpers.sh `source` isn't available at POSIX sh.
author Yuya Nishihara <yuya@tcha.org>
date Fri, 21 May 2010 20:55:18 +0900
parents 12e5149cafca
children 6c469f2f9f12
comparison
equal deleted inserted replaced
11207:1d714c1546b5 11208:2313dc4d9817
1 #!/bin/sh 1 #!/bin/sh
2 2
3 source $TESTDIR/helpers.sh 3 . $TESTDIR/helpers.sh
4 4
5 checkundo() 5 checkundo()
6 { 6 {
7 if [ -f .hg/store/undo ]; then 7 if [ -f .hg/store/undo ]; then
8 echo ".hg/store/undo still exists after $1" 8 echo ".hg/store/undo still exists after $1"