+export LC_ALL=C
+export LANG=C
+
dirs -c
+# error -- nonexistant directory
+pushd /tmp/xxx-notthere
+
# errors -- empty stack
pushd
popd
pushd -m
popd -m
dirs -m
+dirs 7
MYDIR=$PWD
unalias cd 2>/dev/null
unalias -a
command cd -P /
+command pwd -P # better be `/'
case "$OLDPWD" in
$MYDIR) echo ok ;;