From 030440d5b7bfd2968138836e962f1ef61ea0bae8 Mon Sep 17 00:00:00 2001 From: Daniel Shahaf Date: Tue, 19 Nov 2019 17:57:07 +0000 Subject: unposted: Add smoke test for :P history modifier. --- Test/W01history.ztst | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'Test') diff --git a/Test/W01history.ztst b/Test/W01history.ztst index 96d0beb61..0b2f60d1e 100644 --- a/Test/W01history.ztst +++ b/Test/W01history.ztst @@ -81,3 +81,10 @@ F:Check that a history bug introduced by workers/34160 is working again. >for/testing >testing >path/for + + $ZTST_testdir/../Src/zsh -fis <<<' + echo /my/path/for/testing + echo !1:1:P' 2>/dev/null +0:Modifier :P +>/my/path/for/testing +>/my/path/for/testing -- cgit 1.4.1