shelltest: die if 'cd ~' can't handle spaces in $HOME.
This fails on ash, dash, and busybox sh (for now). But it's kind of important since $HOME often has spaces on Win32. I hope dash will be fixed relatively soon. I downgraded it to a warning since on Unix, this probably isn't a problem.
This commit is contained in:
parent
4a296d676c
commit
5dbbfd4288
1 changed files with 11 additions and 0 deletions
|
|
@ -259,4 +259,15 @@ test -e shellfile || fail 99
|
|||
# http://www.gnu.org/software/hello/manual/autoconf/Limitations-of-Usual-Tools.html
|
||||
rm -f || fail 110
|
||||
|
||||
# reported by singpolyma in busybox-w32's issue tracker
|
||||
(
|
||||
set -e
|
||||
HOME="$PWD/space home dir"
|
||||
rm -rf "$HOME"
|
||||
mkdir "$HOME"
|
||||
cd ~
|
||||
cd ..
|
||||
rmdir 'space home dir'
|
||||
) || warn 111
|
||||
|
||||
exit $FAIL
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue