diff options
Diffstat (limited to 'dotfiles/system/.zsh/modules/Test/B05eval.ztst')
| -rw-r--r-- | dotfiles/system/.zsh/modules/Test/B05eval.ztst | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/dotfiles/system/.zsh/modules/Test/B05eval.ztst b/dotfiles/system/.zsh/modules/Test/B05eval.ztst deleted file mode 100644 index 6427d6f..0000000 --- a/dotfiles/system/.zsh/modules/Test/B05eval.ztst +++ /dev/null @@ -1,34 +0,0 @@ -# Tests for the eval builtin. -# This is quite short; eval is widely tested throughout the test suite -# and its basic behaviour is fairly straightforward. - -%prep - - cmd='print $?' - -%test - - false - eval $cmd -0:eval retains value of $? ->1 - - # no point getting worked up over what the error message is... - ./command_not_found 2>/dev/null - eval $cmd -0:eval after command not found ->127 - - # trick the test system - sp= - false - eval " - $sp - $sp - $sp - " -0:eval with empty command resets the status - - false - eval -0:eval with empty command resets the status |
