about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDaniel Shahaf <d.s@daniel.shahaf.name>2021-12-01 06:32:51 +0000
committerDaniel Shahaf <d.s@daniel.shahaf.name>2021-12-01 06:32:54 +0000
commit7acfb7dfae1fbb316f2deff2472eb0959319079e (patch)
tree6a841d052d509c5954b07950c2e7c7387eea0eaf
parent884cd84722ab1c7d3ffcf18da86813a6c0e7aa31 (diff)
downloadzsh-7acfb7dfae1fbb316f2deff2472eb0959319079e.tar.gz
zsh-7acfb7dfae1fbb316f2deff2472eb0959319079e.tar.xz
zsh-7acfb7dfae1fbb316f2deff2472eb0959319079e.zip
49628: Add an xfail test for RPS1/RPROMPT equivalence.
-rw-r--r--ChangeLog3
-rw-r--r--Test/D01prompt.ztst6
2 files changed, 9 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 76e753893..a45e9e1aa 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2021-12-01  Daniel Shahaf  <d.s@daniel.shahaf.name>
 
+	* 49628: Test/D01prompt.ztst: Add an xfail test for RPS1/RPROMPT
+	equivalence.
+
 	* 49624: Test/E03posix.ztst: Expect the test 'All identifiers
 	are variable references in POSIX arithmetic' to pass, as it
 	has been passing since 49611.
diff --git a/Test/D01prompt.ztst b/Test/D01prompt.ztst
index 3fb27e620..6879e6fd1 100644
--- a/Test/D01prompt.ztst
+++ b/Test/D01prompt.ztst
@@ -257,3 +257,9 @@
     ZTST_skip='Missing terminfo module or non-colour terminal'
   fi
 0:Equivalence of terminal colour settings (background colour)
+
+ (RPS1=foo; echo $RPS1 $RPROMPT)
+ (RPS2=bar; echo $RPS2 $RPROMPT2)
+-fD:RPS1 and RPROMPT are aliases (regression from 5.0.6) (workers/49600)
+>foo foo
+>bar bar