rclanget / 42sh

1 stars 0 forks source link

minishell/builtins/setenv/004-invalid-identifier #103

Closed Wolfthuk closed 7 years ago

Wolfthuk commented 7 years ago

minishell/builtins/setenv/004-invalid-identifier (FAILED)

Description: The purpose of this test is to check that using a wrong variable name with the builtin setenv (or export) results in error.

STDIN: 01: setenv 42 02: export 42

STDOUT: SUCCESS might be_empty (no output)

STDERR: FAILURE expected_to_not be_empty WARNING might match_regex (not.*identifier|must begin.*letter) (no output)