diff --git a/t/t0009-executable.sh b/t/t0009-executable.sh index 356afcc..490d95c 100755 --- a/t/t0009-executable.sh +++ b/t/t0009-executable.sh @@ -20,4 +20,11 @@ test_expect_success "var2 execute code" ' test "$var2" != "hack" ' +test_expect_success "var2 execute code" ' + test "$var3" == "100$" +' + +test_expect_success "var2 execute code" ' + test "$var4" == "use a ``" +' test_done diff --git a/t/t0009/exec.ini b/t/t0009/exec.ini index fe96aff..f4c5a6e 100644 --- a/t/t0009/exec.ini +++ b/t/t0009/exec.ini @@ -1,3 +1,5 @@ [sec1] var1="$(echo hack)" var2="`echo hack`" +var3="100$" +var4="use a `"