Commits

Brendan Cully  committed 29646ca

tests: fix bashism (function keyword)

  • Participants
  • Parent commits 589e6ab

Comments (0)

Files changed (3)

File tests/test-remotebranches

 
 FILTERPWD="sed s%$PWD/%%g"
 
-function mkcommit()
+mkcommit()
 {
     echo $1 > $1
     hg add $1

File tests/test-remotebranches-with-schemes

 
 FILTERPWD="sed s%$PWD/%%g"
 
-function mkcommit()
+mkcommit()
 {
     echo $1 > $1
     hg add $1

File tests/test-remotebranches.t

 
   > FILTERPWD="sed s%$PWD/%%g"
 
-  > function mkcommit()
+  > mkcommit()
   > {
   >    echo $1 > $1
   >    hg add $1