X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=tests%2Fdstack.tests;fp=tests%2Fdirstack.tests;h=6c4cef14262a934b2cb7ae12e30ea86df257f196;hb=cce855bc5b117cb7ae70064131120687bc69fac0;hp=e384615d2dfbd7e28fc2f313bfb73e5db3b65604;hpb=e8ce775db824de329b81293b4e5d8fbd65624528;p=platform%2Fupstream%2Fbash.git diff --git a/tests/dirstack.tests b/tests/dstack.tests similarity index 89% rename from tests/dirstack.tests rename to tests/dstack.tests index e384615..6c4cef1 100644 --- a/tests/dirstack.tests +++ b/tests/dstack.tests @@ -1,4 +1,10 @@ +export LC_ALL=C +export LANG=C + dirs -c +# error -- nonexistant directory +pushd /tmp/xxx-notthere + # errors -- empty stack pushd popd @@ -7,6 +13,7 @@ popd pushd -m popd -m dirs -m +dirs 7 MYDIR=$PWD unalias cd 2>/dev/null @@ -14,6 +21,7 @@ unalias cd 2>/dev/null unalias -a command cd -P / +command pwd -P # better be `/' case "$OLDPWD" in $MYDIR) echo ok ;;