"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "tests/test-nointerrupt.t" between
mercurial-5.8.tar.gz and mercurial-5.8.1.tar.gz

About: Mercurial is a Source (Version) Control Management system designed for efficient handling of very large distributed projects.

test-nointerrupt.t  (mercurial-5.8):test-nointerrupt.t  (mercurial-5.8.1)
skipping to change at line 62 skipping to change at line 62
Set up repository Set up repository
$ hg init repo $ hg init repo
$ cd repo $ cd repo
$ cat >> $HGRCPATH << EOF $ cat >> $HGRCPATH << EOF
> [extensions] > [extensions]
> sleepext = ../sleepext.py > sleepext = ../sleepext.py
> EOF > EOF
Test ctrl-c Test ctrl-c
$ $PYTHON $TESTTMP/timeout.py -s INT 1 hg sleep 2 $ "$PYTHON" $TESTTMP/timeout.py -s INT 1 hg sleep 2
interrupted! interrupted!
[124] [124]
$ cat >> $HGRCPATH << EOF $ cat >> $HGRCPATH << EOF
> [experimental] > [experimental]
> nointerrupt = yes > nointerrupt = yes
> EOF > EOF
$ $PYTHON $TESTTMP/timeout.py -s INT 1 hg sleep 2 $ "$PYTHON" $TESTTMP/timeout.py -s INT 1 hg sleep 2
interrupted! interrupted!
[124] [124]
$ cat >> $HGRCPATH << EOF $ cat >> $HGRCPATH << EOF
> [experimental] > [experimental]
> nointerrupt-interactiveonly = False > nointerrupt-interactiveonly = False
> EOF > EOF
$ $PYTHON $TESTTMP/timeout.py -s INT 1 hg sleep 2 $ "$PYTHON" $TESTTMP/timeout.py -s INT 1 hg sleep 2
shutting down cleanly shutting down cleanly
press ^C again to terminate immediately (dangerous) press ^C again to terminate immediately (dangerous)
end of unsafe operation end of unsafe operation
interrupted! interrupted!
[124] [124]
 End of changes. 3 change blocks. 
3 lines changed or deleted 3 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)