about summary refs log tree commit diff
path: root/Test
diff options
context:
space:
mode:
authorDaniel Shahaf <d.s@daniel.shahaf.name>2019-11-19 17:57:07 +0000
committerDaniel Shahaf <d.s@daniel.shahaf.name>2019-11-19 17:57:13 +0000
commit030440d5b7bfd2968138836e962f1ef61ea0bae8 (patch)
treec7f0a80974367b95e6a22111b14d5101c8f876ee /Test
parent88d14451b093cf2f07049ebb264a29eefc790825 (diff)
downloadzsh-030440d5b7bfd2968138836e962f1ef61ea0bae8.tar.gz
zsh-030440d5b7bfd2968138836e962f1ef61ea0bae8.tar.xz
zsh-030440d5b7bfd2968138836e962f1ef61ea0bae8.zip
unposted: Add smoke test for :P history modifier.
Diffstat (limited to 'Test')
-rw-r--r--Test/W01history.ztst7
1 files changed, 7 insertions, 0 deletions
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