File tree Expand file tree Collapse file tree 2 files changed +26
-1
lines changed
Expand file tree Collapse file tree 2 files changed +26
-1
lines changed Original file line number Diff line number Diff line change @@ -173,6 +173,31 @@ index 2001b4e..3ba2029 100644
173173 }
174174 else
175175 break;
176+ diff --git a/tests/ps1lf.right b/tests/ps1lf.right
177+ new file mode 100644
178+ index 0000000..bbed883
179+ --- /dev/null
180+ +++ b/tests/ps1lf.right
181+ @@ -0,0 +1,4 @@
182+ + foo
183+ + $ PS1='$(echo foo)\n\$ '
184+ + foo
185+ + $ exit
186+ diff --git a/tests/ps1lf.sub b/tests/ps1lf.sub
187+ new file mode 100644
188+ index 0000000..01a2265
189+ --- /dev/null
190+ +++ b/tests/ps1lf.sub
191+ @@ -0,0 +1 @@
192+ + PS1='$(echo foo)\n\$ '
193+ diff --git a/tests/run-ps1lf b/tests/run-ps1lf
194+ new file mode 100644
195+ index 0000000..030f606
196+ --- /dev/null
197+ +++ b/tests/run-ps1lf
198+ @@ -0,0 +1,2 @@
199+ + ${THIS_SH} --rcfile ./ps1lf.sub -i < ./ps1lf.sub 2>&1 | tr -d '\r' > ${BASH_TSTOUT}
200+ + diff ${BASH_TSTOUT} ps1lf.right && rm -f ${BASH_TSTOUT}
176201diff --git a/variables.c b/variables.c
177202index 028667c..a10594d 100644
178203--- a/variables.c
Original file line number Diff line number Diff line change @@ -130,7 +130,7 @@ sha256sums=('a139c166df7ff4471c5e0733051642ee5556c1cc8a4a78f145583c5c81ab32fb'
130130 ' SKIP'
131131 ' 948b8b5401dcb4e5eb577cfa6543e740e2e3bd0690939d8e77d078d75d110097'
132132 ' 6ca7633a87db7caf1d2d1a96779681c365d0ad2c11b2ea758e772f4ebff2a62f'
133- ' ed6a63d0e0c1d5d90e5c12405f606d2cb385f68d32181b65e0fbafd49f40f6f1 '
133+ ' 9ee6a3f0c6c27ca68974419d10b40ee036579b939e38d5c6408629f33c3caf8b '
134134 ' 500c75c64593a70276585345a55c807226c0cc220d08b7cccece2ab005b3bcea'
135135 ' cbae1aa81d56eba4e916bdaf2b2983731d6e2537dd8d606a3b378e49bcb81e79'
136136 ' f42f2fee923bc2209f406a1892772121c467f44533bedfe00a176139da5d310a'
You can’t perform that action at this time.
0 commit comments