]> git.ipfire.org Git - thirdparty/bash.git/blobdiff - tests/more-exp.tests
Imported from ../bash-3.1.tar.gz.
[thirdparty/bash.git] / tests / more-exp.tests
index 6c821a57257082d0bbdd322b75fdda418cd32bd8..4a3cb7f5499b7c209734177ee234ca02780bd874 100644 (file)
@@ -65,7 +65,10 @@ HOME=/usr/homes/chet
 somevar=
 expect "<$HOME>"
 recho ${somevar:-~}
-expect "<$HOME>"
+# This changed after bash-3.0, when the tilde implementation was redone.  It's
+# not backward compatible, but it's very hard to be backward-compatible here,
+# and I think the old behavior was a bug
+expect '<~>'
 recho "${somevar:-~}"
 expect '<~>'
 recho "${somevar:-"~"}"