From f8d5b066c0a88ebc28266e043ce24e0ff019d46a Mon Sep 17 00:00:00 2001 From: Daniel O'Connor Date: Fri, 7 Sep 2012 15:42:20 +0930 Subject: [PATCH] Create #! line correctly (no need to escape !). Many more tests pass now. --- tests/dnahelper | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/dnahelper b/tests/dnahelper index 42c6d079..53571511 100755 --- a/tests/dnahelper +++ b/tests/dnahelper @@ -53,7 +53,7 @@ setup_dnahelper() { export SID_JOE_F=1234567890ABCDEF1234567890ABCDEF1234567890ABCDEF1234567890ABCDEF export SID_ECCLES=1234567890ABCDEF1234567890ABCDEF1234567890ABCDEF1234567890ABCDE0 dnahelper="$TFWTMP/dnahelper" - echo "#\!$BASH" >"$dnahelper" + echo "#!$BASH" >"$dnahelper" cat >>"$dnahelper" <<'EOF' echo STARTED while read line @@ -231,7 +231,7 @@ setup_ExecArg1() { setup_servald assert_no_servald_processes dnahelper="$TFWTMP/dnahelper" - echo "#\!$BASH" >"$dnahelper" + echo "#!$BASH" >"$dnahelper" cat >>"$dnahelper" <<'EOF' echo STARTED while read line