##// END OF EJS Templates
tests: remove pid file by default...
Gregory Szorc -
r37865:89793289 default
parent child Browse files
Show More
@@ -124,4 +124,4 b" if __name__ == '__main__':"
124 else:
124 else:
125 path = os.environ["DAEMON_PIDS"]
125 path = os.environ["DAEMON_PIDS"]
126
126
127 killdaemons(path)
127 killdaemons(path, remove=True)
@@ -880,7 +880,6 b' Check error message when object does not'
880 $LOCALIP - - [$LOGDATE$] "POST /.git/info/lfs/objects/batch HTTP/1.1" 200 - (glob)
880 $LOCALIP - - [$LOGDATE$] "POST /.git/info/lfs/objects/batch HTTP/1.1" 200 - (glob)
881 #endif
881 #endif
882
882
883 $ rm $DAEMON_PIDS
884 $ mkdir $TESTTMP/lfs-server2
883 $ mkdir $TESTTMP/lfs-server2
885 $ cd $TESTTMP/lfs-server2
884 $ cd $TESTTMP/lfs-server2
886 #if no-windows git-server
885 #if no-windows git-server
@@ -931,7 +931,7 b' reenable for later test'
931 $ echo "evolution.exchange=True" >> $HGRCPATH
931 $ echo "evolution.exchange=True" >> $HGRCPATH
932 $ echo "evolution.createmarkers=True" >> $HGRCPATH
932 $ echo "evolution.createmarkers=True" >> $HGRCPATH
933
933
934 $ rm hg.pid access.log errors.log
934 $ rm access.log errors.log
935 #endif
935 #endif
936
936
937 Several troubles on the same changeset (create an unstable and bumped changeset)
937 Several troubles on the same changeset (create an unstable and bumped changeset)
@@ -574,7 +574,6 b' HGRCPATH to get a clean environment.'
574 # Ran 1 tests, 0 skipped, 0 failed.
574 # Ran 1 tests, 0 skipped, 0 failed.
575 $ rm test-serve-inuse.t
575 $ rm test-serve-inuse.t
576 $ killdaemons.py $DAEMON_PIDS
576 $ killdaemons.py $DAEMON_PIDS
577 $ rm $DAEMON_PIDS
578
577
579 Running In Debug Mode
578 Running In Debug Mode
580 ======================
579 ======================
@@ -6,10 +6,11 b''
6 > | sed -e "s/:$HGPORT1\\([^0-9]\\)/:HGPORT1\1/g" \
6 > | sed -e "s/:$HGPORT1\\([^0-9]\\)/:HGPORT1\1/g" \
7 > -e "s/:$HGPORT2\\([^0-9]\\)/:HGPORT2\1/g" \
7 > -e "s/:$HGPORT2\\([^0-9]\\)/:HGPORT2\1/g" \
8 > -e 's/http:\/\/[^/]*\//http:\/\/localhost\//'
8 > -e 's/http:\/\/[^/]*\//http:\/\/localhost\//'
9 > cat hg.pid >> "$DAEMON_PIDS"
9 > if [ -f hg.pid ]; then
10 > killdaemons.py hg.pid
11 > fi
10 > echo % errors
12 > echo % errors
11 > cat errors.log
13 > cat errors.log
12 > killdaemons.py hg.pid
13 > }
14 > }
14
15
15 $ hg init test
16 $ hg init test
General Comments 0
You need to be logged in to leave comments. Login now