diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | Test/E01options.ztst | 6 |
2 files changed, 8 insertions, 2 deletions
@@ -1,5 +1,9 @@ 2020-07-05 Daniel Shahaf <d.s@daniel.shahaf.name> + * 46175/0002: Test/E01options.ztst: Add a regression test for + 46169: the RM_STAR_SILENT logic processes the current directory + rather than the root directory. + * 46175/0001: Test/E01options.ztst: Add a unit test for the RM_STAR_SILENT option. diff --git a/Test/E01options.ztst b/Test/E01options.ztst index a1b564327..053affeed 100644 --- a/Test/E01options.ztst +++ b/Test/E01options.ztst @@ -1428,7 +1428,8 @@ F:If this test fails at the first unsetopt, refer to P01privileged.ztst. if zmodload -e zsh/zpty 2>/dev/null; then for target_dir target_pattern in \ - '.' '*' + '.' '*' \ + '/' '/*' do before=`ls -a -- $target_dir` zpty subshell $ZTST_testdir/../Src/zsh -f @@ -1446,5 +1447,6 @@ F:If this test fails at the first unsetopt, refer to P01privileged.ztst. ZTST_skip="the zsh/zpty module is not available" fi BEL=$'\a' -0q:RM_STAR_SILENT +0qf:RM_STAR_SILENT *>zsh: sure you want to delete all 15 files in ${PWD:h}/options.tmp \[yn\]\? ${BEL} +*>zsh: sure you want to delete all <-> files in / \[yn\]\? ${BEL} |