Closed Wolfthuk closed 7 years ago
42sh/quoting/mixed/variable-expansion/001-it-does-not-expand-in-simple-quotes (FAILED)
Description: The purpose of this test is to check if a local variable is display correctly inside simple and double quote.
Before test: 01: export "TOKEN201612111732_NAME=TOKEN201612111732_VALUE"
STDIN: 01: ./write_on_stdout "$TOKEN201612111732_NAME"$TOKEN201612111732_NAME'$TOKEN201612111732_NAME'
STDOUT: FAILURE expected_to match_regex TOKEN201612111732_VALUETOKEN201612111732_VALUE[$]TOKEN201612111732_NAME 01: write on stdout
TOKEN201612111732_VALUETOKEN201612111732_VALUE[$]TOKEN201612111732_NAME
STDERR: SUCCESS expected_to be_empty (no output)
Résolu
42sh/quoting/mixed/variable-expansion/001-it-does-not-expand-in-simple-quotes (FAILED)
Description: The purpose of this test is to check if a local variable is display correctly inside simple and double quote.
Before test: 01: export "TOKEN201612111732_NAME=TOKEN201612111732_VALUE"
STDIN: 01: ./write_on_stdout "$TOKEN201612111732_NAME"$TOKEN201612111732_NAME'$TOKEN201612111732_NAME'
STDOUT: FAILURE expected_to match_regex
TOKEN201612111732_VALUETOKEN201612111732_VALUE[$]TOKEN201612111732_NAME
01: write on stdoutSTDERR: SUCCESS expected_to be_empty (no output)