tests: fix bashism to load helpers.sh
authorYuya Nishihara <yuya@tcha.org>
Fri, 21 May 2010 20:55:18 +0900
changeset 11208 2313dc4d9817
parent 11207 1d714c1546b5
child 11209 385b95d10410
tests: fix bashism to load helpers.sh `source` isn't available at POSIX sh.
tests/test-bookmarks-rebase
tests/test-bookmarks-strip
tests/test-mq
tests/test-mq-strip
tests/test-rebase-abort
tests/test-rebase-cache
tests/test-rebase-check-restore
tests/test-rebase-collapse
tests/test-rebase-conflicts
tests/test-rebase-detach
tests/test-rebase-interruptions
tests/test-rebase-issue-noparam-single-rev
tests/test-rebase-mq
tests/test-rebase-mq-skip
tests/test-rebase-newancestor
tests/test-rebase-parameters
tests/test-rebase-pull
tests/test-rebase-rename
tests/test-rebase-scenario-global
tests/test-strip-cross
--- a/tests/test-bookmarks-rebase	Tue May 18 18:55:14 2010 +0900
+++ b/tests/test-bookmarks-rebase	Fri May 21 20:55:18 2010 +0900
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-source $TESTDIR/helpers.sh
+. $TESTDIR/helpers.sh
 
 echo "[extensions]" >> $HGRCPATH
 echo "rebase=" >> $HGRCPATH
--- a/tests/test-bookmarks-strip	Tue May 18 18:55:14 2010 +0900
+++ b/tests/test-bookmarks-strip	Fri May 21 20:55:18 2010 +0900
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-source $TESTDIR/helpers.sh
+. $TESTDIR/helpers.sh
 echo "[extensions]" >> $HGRCPATH
 echo "bookmarks=" >> $HGRCPATH
 echo "mq=" >> $HGRCPATH
--- a/tests/test-mq	Tue May 18 18:55:14 2010 +0900
+++ b/tests/test-mq	Fri May 21 20:55:18 2010 +0900
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-source $TESTDIR/helpers.sh
+. $TESTDIR/helpers.sh
 
 checkundo()
 {
--- a/tests/test-mq-strip	Tue May 18 18:55:14 2010 +0900
+++ b/tests/test-mq-strip	Fri May 21 20:55:18 2010 +0900
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-source $TESTDIR/helpers.sh
+. $TESTDIR/helpers.sh
 
 echo "[extensions]" >> $HGRCPATH
 echo "mq=" >> $HGRCPATH
--- a/tests/test-rebase-abort	Tue May 18 18:55:14 2010 +0900
+++ b/tests/test-rebase-abort	Fri May 21 20:55:18 2010 +0900
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-source $TESTDIR/helpers.sh
+. $TESTDIR/helpers.sh
 
 echo "[extensions]" >> $HGRCPATH
 echo "graphlog=" >> $HGRCPATH
--- a/tests/test-rebase-cache	Tue May 18 18:55:14 2010 +0900
+++ b/tests/test-rebase-cache	Fri May 21 20:55:18 2010 +0900
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-source $TESTDIR/helpers.sh
+. $TESTDIR/helpers.sh
 
 createrepo() {
     rm -rf repo
--- a/tests/test-rebase-check-restore	Tue May 18 18:55:14 2010 +0900
+++ b/tests/test-rebase-check-restore	Fri May 21 20:55:18 2010 +0900
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-source $TESTDIR/helpers.sh
+. $TESTDIR/helpers.sh
 
 echo "[extensions]" >> $HGRCPATH
 echo "graphlog=" >> $HGRCPATH
--- a/tests/test-rebase-collapse	Tue May 18 18:55:14 2010 +0900
+++ b/tests/test-rebase-collapse	Fri May 21 20:55:18 2010 +0900
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-source $TESTDIR/helpers.sh
+. $TESTDIR/helpers.sh
 
 echo "[extensions]" >> $HGRCPATH
 echo "graphlog=" >> $HGRCPATH
--- a/tests/test-rebase-conflicts	Tue May 18 18:55:14 2010 +0900
+++ b/tests/test-rebase-conflicts	Fri May 21 20:55:18 2010 +0900
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-source $TESTDIR/helpers.sh
+. $TESTDIR/helpers.sh
 
 echo "[extensions]" >> $HGRCPATH
 echo "graphlog=" >> $HGRCPATH
--- a/tests/test-rebase-detach	Tue May 18 18:55:14 2010 +0900
+++ b/tests/test-rebase-detach	Fri May 21 20:55:18 2010 +0900
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-source $TESTDIR/helpers.sh
+. $TESTDIR/helpers.sh
 
 echo "[extensions]" >> $HGRCPATH
 echo "graphlog=" >> $HGRCPATH
--- a/tests/test-rebase-interruptions	Tue May 18 18:55:14 2010 +0900
+++ b/tests/test-rebase-interruptions	Fri May 21 20:55:18 2010 +0900
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-source $TESTDIR/helpers.sh
+. $TESTDIR/helpers.sh
 echo "[extensions]" >> $HGRCPATH
 echo "graphlog=" >> $HGRCPATH
 echo "rebase=" >> $HGRCPATH
--- a/tests/test-rebase-issue-noparam-single-rev	Tue May 18 18:55:14 2010 +0900
+++ b/tests/test-rebase-issue-noparam-single-rev	Fri May 21 20:55:18 2010 +0900
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-source $TESTDIR/helpers.sh
+. $TESTDIR/helpers.sh
 
 echo "[extensions]" >> $HGRCPATH
 echo "graphlog=" >> $HGRCPATH
--- a/tests/test-rebase-mq	Tue May 18 18:55:14 2010 +0900
+++ b/tests/test-rebase-mq	Fri May 21 20:55:18 2010 +0900
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-source $TESTDIR/helpers.sh
+. $TESTDIR/helpers.sh
 
 echo "[extensions]" >> $HGRCPATH
 echo "graphlog=" >> $HGRCPATH
--- a/tests/test-rebase-mq-skip	Tue May 18 18:55:14 2010 +0900
+++ b/tests/test-rebase-mq-skip	Fri May 21 20:55:18 2010 +0900
@@ -2,7 +2,7 @@
 # This emulates the effects of an hg pull --rebase in which the remote repo 
 # already has one local mq patch
 
-source $TESTDIR/helpers.sh
+. $TESTDIR/helpers.sh
 
 echo "[extensions]" >> $HGRCPATH
 echo "graphlog=" >> $HGRCPATH
--- a/tests/test-rebase-newancestor	Tue May 18 18:55:14 2010 +0900
+++ b/tests/test-rebase-newancestor	Fri May 21 20:55:18 2010 +0900
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-source $TESTDIR/helpers.sh
+. $TESTDIR/helpers.sh
 
 echo "[extensions]" >> $HGRCPATH
 echo "graphlog=" >> $HGRCPATH
--- a/tests/test-rebase-parameters	Tue May 18 18:55:14 2010 +0900
+++ b/tests/test-rebase-parameters	Fri May 21 20:55:18 2010 +0900
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-source $TESTDIR/helpers.sh
+. $TESTDIR/helpers.sh
 
 echo "[extensions]" >> $HGRCPATH
 echo "rebase=" >> $HGRCPATH
--- a/tests/test-rebase-pull	Tue May 18 18:55:14 2010 +0900
+++ b/tests/test-rebase-pull	Fri May 21 20:55:18 2010 +0900
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-source $TESTDIR/helpers.sh
+. $TESTDIR/helpers.sh
 
 echo "[extensions]" >> $HGRCPATH
 echo "graphlog=" >> $HGRCPATH
--- a/tests/test-rebase-rename	Tue May 18 18:55:14 2010 +0900
+++ b/tests/test-rebase-rename	Fri May 21 20:55:18 2010 +0900
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-source $TESTDIR/helpers.sh
+. $TESTDIR/helpers.sh
 
 echo "[extensions]" >> $HGRCPATH
 echo "rebase=" >> $HGRCPATH
--- a/tests/test-rebase-scenario-global	Tue May 18 18:55:14 2010 +0900
+++ b/tests/test-rebase-scenario-global	Fri May 21 20:55:18 2010 +0900
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-source $TESTDIR/helpers.sh
+. $TESTDIR/helpers.sh
 
 echo "[extensions]" >> $HGRCPATH
 echo "graphlog=" >> $HGRCPATH
--- a/tests/test-strip-cross	Tue May 18 18:55:14 2010 +0900
+++ b/tests/test-strip-cross	Fri May 21 20:55:18 2010 +0900
@@ -2,7 +2,7 @@
 
 # test stripping of filelogs where the linkrev doesn't always increase
 
-source $TESTDIR/helpers.sh
+. $TESTDIR/helpers.sh
 echo '[extensions]' >> $HGRCPATH
 echo 'hgext.mq =' >> $HGRCPATH