diff --git a/tests/test-transaction-rollback-on-sigpipe.t b/tests/test-transaction-rollback-on-sigpipe.t --- a/tests/test-transaction-rollback-on-sigpipe.t +++ b/tests/test-transaction-rollback-on-sigpipe.t @@ -22,14 +22,14 @@ $ killable_pipe=`pwd`/killable_pipe.sh $ script $killable_pipe < #!/bin/bash + > #!/usr/bin/env bash > echo \$\$ >> $pidfile > exec cat > EOF $ remotecmd=`pwd`/remotecmd.sh $ script $remotecmd < #!/bin/bash + > #!/usr/bin/env bash > hg "\$@" 1> >($killable_pipe) 2> >($killable_pipe >&2) > EOF @@ -38,7 +38,7 @@ $ hook_script=`pwd`/pretxnchangegroup.sh $ script $hook_script < #!/bin/bash + > #!/usr/bin/env bash > for pid in \$(cat $pidfile) ; do > kill \$pid > while kill -0 \$pid 2>/dev/null ; do