tests/test-removeemptydirs.t
branchstable
changeset 49593 e11760daee12
parent 49592 12efb17faee2
child 49594 88a8de821b5e
equal deleted inserted replaced
49592:12efb17faee2 49593:e11760daee12
   142   r2
   142   r2
   143   somedir
   143   somedir
   144 #if windows
   144 #if windows
   145   $ "$PYTHON" "$TESTTMP/pwd.py"
   145   $ "$PYTHON" "$TESTTMP/pwd.py"
   146   $TESTTMP/hghistedit/somedir
   146   $TESTTMP/hghistedit/somedir
       
   147   $ ls -A $TESTTMP/hghistedit/somedir
       
   148   foo
       
   149   $ ls -A
       
   150   foo
   147 #else
   151 #else
   148   $ echo ${PWD} # no-pwd-check
   152   $ echo ${PWD} # no-pwd-check
   149   $TESTTMP/hghistedit/somedir
   153   $TESTTMP/hghistedit/somedir
   150   $ "$PYTHON" "$TESTTMP/pwd.py"
   154   $ "$PYTHON" "$TESTTMP/pwd.py"
   151   <directory is no longer accessible>
   155   <directory is no longer accessible>
   152 #endif
       
   153   $ ls -A $TESTTMP/hghistedit/somedir
   156   $ ls -A $TESTTMP/hghistedit/somedir
   154   foo
   157   foo
   155   $ ls -A
   158   $ ls -A
   156   foo (windows !)
   159 #endif
   157 
   160 
   158 Get out of the doomed directory
   161 Get out of the doomed directory
   159 
   162 
   160   $ cd $TESTTMP/hghistedit
   163   $ cd $TESTTMP/hghistedit
   161   chdir: error retrieving current directory: getcwd: cannot access parent directories: $ENOENT$ (?)
   164   chdir: error retrieving current directory: getcwd: cannot access parent directories: $ENOENT$ (?)