comparison tests/test-obsolete.t @ 18596:d8cfe29c6b61

test-obsolete.t: migrate to killdaemons from kill `cat pidfile`
author Augie Fackler <raf@durin42.com>
date Sat, 09 Feb 2013 05:37:36 -0600
parents cd403d6d96ef
children e7b89b5127c2
comparison
equal deleted inserted replaced
18595:37479af47bd0 18596:d8cfe29c6b61
750 404 Not Found 750 404 Not Found
751 [1] 751 [1]
752 752
753 check that web.view config option: 753 check that web.view config option:
754 754
755 $ kill `cat hg.pid` 755 $ "$TESTDIR/killdaemons.py" hg.pid
756 $ cat >> .hg/hgrc << EOF 756 $ cat >> .hg/hgrc << EOF
757 > [web] 757 > [web]
758 > view=all 758 > view=all
759 > EOF 759 > EOF
760 $ wait 760 $ wait
761 $ hg serve -n test -p $HGPORT -d --pid-file=hg.pid -A access.log -E errors.log 761 $ hg serve -n test -p $HGPORT -d --pid-file=hg.pid -A access.log -E errors.log
762 $ "$TESTDIR/get-with-headers.py" --headeronly localhost:$HGPORT 'rev/67' 762 $ "$TESTDIR/get-with-headers.py" --headeronly localhost:$HGPORT 'rev/67'
763 200 Script output follows 763 200 Script output follows
764 $ kill `cat hg.pid` 764 $ "$TESTDIR/killdaemons.py" hg.pid
765 765
766 Checking _enable=False warning if obsolete marker exists 766 Checking _enable=False warning if obsolete marker exists
767 767
768 $ echo '[extensions]' >> $HGRCPATH 768 $ echo '[extensions]' >> $HGRCPATH
769 $ echo "obs=!" >> $HGRCPATH 769 $ echo "obs=!" >> $HGRCPATH