rclanget / 42sh

1 stars 0 forks source link

42sh/quoting/mixed/variable-expansion/001-it-does-not-expand-in-simple-quotes #61

Closed Wolfthuk closed 7 years ago

Wolfthuk commented 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

STDERR: SUCCESS expected_to be_empty (no output)

rclanget commented 7 years ago

Résolu