tests/test-blackbox.t
branchstable
changeset 49366 288de6f5d724
parent 48876 42d2b31cee0b
child 50320 adecb1ab4a0d
equal deleted inserted replaced
49364:e8ea403b1c46 49366:288de6f5d724
   401 #if chg
   401 #if chg
   402 
   402 
   403 when using chg, blackbox.log should get rotated correctly
   403 when using chg, blackbox.log should get rotated correctly
   404 
   404 
   405   $ cat > $TESTTMP/noop.py << EOF
   405   $ cat > $TESTTMP/noop.py << EOF
   406   > from __future__ import absolute_import
       
   407   > import time
   406   > import time
   408   > from mercurial import registrar, scmutil
   407   > from mercurial import registrar, scmutil
   409   > cmdtable = {}
   408   > cmdtable = {}
   410   > command = registrar.command(cmdtable)
   409   > command = registrar.command(cmdtable)
   411   > @command(b'noop')
   410   > @command(b'noop')
   461 #endif
   460 #endif
   462 
   461 
   463 blackbox should work if repo.ui.log is not called (issue5518)
   462 blackbox should work if repo.ui.log is not called (issue5518)
   464 
   463 
   465   $ cat > $TESTTMP/raise.py << EOF
   464   $ cat > $TESTTMP/raise.py << EOF
   466   > from __future__ import absolute_import
       
   467   > from mercurial import registrar, scmutil
   465   > from mercurial import registrar, scmutil
   468   > cmdtable = {}
   466   > cmdtable = {}
   469   > command = registrar.command(cmdtable)
   467   > command = registrar.command(cmdtable)
   470   > @command(b'raise')
   468   > @command(b'raise')
   471   > def raisecmd(*args):
   469   > def raisecmd(*args):