summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--Test/W01history.ztst7
2 files changed, 12 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 43d880c24..ba132c95d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2019-11-19 Daniel Shahaf <d.s@daniel.shahaf.name>
+
+ * unposted: Test/W01history.ztst: Add smoke test for :P history
+ modifier.
+
2019-11-18 Peter Stephenson <p.stephenson@samsung.com>
* users/24445: Src/hist.c: Add missing support for :P to history
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