tests/test-status-color.t
changeset 38787 5199c5b6fd29
parent 35704 41ef02ba329b
child 39091 ddc1da134772
equal deleted inserted replaced
38786:28d8b5f49b4d 38787:5199c5b6fd29
   391 
   391 
   392 color coding of error message with current availability of curses
   392 color coding of error message with current availability of curses
   393 
   393 
   394   $ hg unknowncommand > /dev/null
   394   $ hg unknowncommand > /dev/null
   395   hg: unknown command 'unknowncommand'
   395   hg: unknown command 'unknowncommand'
       
   396   (use 'hg help' for a list of commands)
   396   [255]
   397   [255]
   397 
   398 
   398 color coding of error message without curses
   399 color coding of error message without curses
   399 
   400 
   400   $ echo 'raise ImportError' > curses.py
   401   $ echo 'raise ImportError' > curses.py
   401   $ PYTHONPATH=`pwd`:$PYTHONPATH hg unknowncommand > /dev/null
   402   $ PYTHONPATH=`pwd`:$PYTHONPATH hg unknowncommand > /dev/null
   402   hg: unknown command 'unknowncommand'
   403   hg: unknown command 'unknowncommand'
       
   404   (use 'hg help' for a list of commands)
   403   [255]
   405   [255]
   404 
   406 
   405   $ cd ..
   407   $ cd ..