Open RomanSaveljev opened 9 years ago
This is the testcase, which demonstates the failure:
#!/usr/bin/env bats @test 't' { #set -x command="echo -e" $command I SUCCEED set -o >before.txt run true echo $command set -o >after.txt $command I FAIL }
Tracing reveals that I FAIL line is called as: 'echo -e' I FAIL and the interpreter tries to call exactly the quoted command.
'echo -e' I FAIL
This is the testcase, which demonstates the failure:
Tracing reveals that I FAIL line is called as:
'echo -e' I FAIL
and the interpreter tries to call exactly the quoted command.