--- a/tests/test-archive.t Fri Jun 05 22:53:15 2015 -0400
+++ b/tests/test-archive.t Mon Jun 08 14:44:30 2015 -0500
@@ -27,11 +27,11 @@
> hg serve -p $HGPORT -d --pid-file=hg.pid -E errors.log
> cat hg.pid >> $DAEMON_PIDS
> echo % $1 allowed should give 200
- > "$TESTDIR/get-with-headers.py" localhost:$HGPORT "archive/tip.$2" | head -n 1
+ > get-with-headers.py localhost:$HGPORT "archive/tip.$2" | head -n 1
> echo % $3 and $4 disallowed should both give 403
- > "$TESTDIR/get-with-headers.py" localhost:$HGPORT "archive/tip.$3" | head -n 1
- > "$TESTDIR/get-with-headers.py" localhost:$HGPORT "archive/tip.$4" | head -n 1
- > "$TESTDIR/killdaemons.py" $DAEMON_PIDS
+ > get-with-headers.py localhost:$HGPORT "archive/tip.$3" | head -n 1
+ > get-with-headers.py localhost:$HGPORT "archive/tip.$4" | head -n 1
+ > killdaemons.py $DAEMON_PIDS
> cat errors.log
> cp .hg/hgrc-base .hg/hgrc
> }
@@ -63,7 +63,7 @@
invalid arch type should give 404
- $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT "archive/tip.invalid" | head -n 1
+ $ get-with-headers.py localhost:$HGPORT "archive/tip.invalid" | head -n 1
404 Unsupported archive type: None
$ TIP=`hg id -v | cut -f1 -d' '`
@@ -134,7 +134,7 @@
$ python getarchive.py "$TIP" gz relre:baz
HTTP Error 404: file(s) not found: relre:baz
- $ "$TESTDIR/killdaemons.py" $DAEMON_PIDS
+ $ killdaemons.py $DAEMON_PIDS
$ hg archive -t tar test.tar
$ tar tf test.tar