##// END OF EJS Templates
Don't use sed -r; instead use old-style regexp...
Martijn Pieters -
r8245:0eade101 default
parent child Browse files
Show More
@@ -65,11 +65,11 b' cat hg.pid >> $DAEMON_PIDS'
65 echo % should succeed, slashy names
65 echo % should succeed, slashy names
66 "$TESTDIR/get-with-headers.py" localhost:$HGPORT1 '/?style=raw'
66 "$TESTDIR/get-with-headers.py" localhost:$HGPORT1 '/?style=raw'
67 "$TESTDIR/get-with-headers.py" localhost:$HGPORT1 '/?style=paper' \
67 "$TESTDIR/get-with-headers.py" localhost:$HGPORT1 '/?style=paper' \
68 | sed -r "s/[0-9]+ seconds? ago/seconds ago/"
68 | sed "s/[0-9]\{1,\} seconds\{0,1\} ago/seconds ago/"
69 "$TESTDIR/get-with-headers.py" localhost:$HGPORT1 '/t?style=raw'
69 "$TESTDIR/get-with-headers.py" localhost:$HGPORT1 '/t?style=raw'
70 "$TESTDIR/get-with-headers.py" localhost:$HGPORT1 '/t/?style=raw'
70 "$TESTDIR/get-with-headers.py" localhost:$HGPORT1 '/t/?style=raw'
71 "$TESTDIR/get-with-headers.py" localhost:$HGPORT1 '/t/?style=paper' \
71 "$TESTDIR/get-with-headers.py" localhost:$HGPORT1 '/t/?style=paper' \
72 | sed -r "s/[0-9]+ seconds? ago/seconds ago/"
72 | sed "s/[0-9]\{1,\} seconds\{0,1\} ago/seconds ago/"
73 "$TESTDIR/get-with-headers.py" localhost:$HGPORT1 '/t/a?style=atom' \
73 "$TESTDIR/get-with-headers.py" localhost:$HGPORT1 '/t/a?style=atom' \
74 | sed "s/http:\/\/[^/]*\//http:\/\/127.0.0.1\//"
74 | sed "s/http:\/\/[^/]*\//http:\/\/127.0.0.1\//"
75 "$TESTDIR/get-with-headers.py" localhost:$HGPORT1 '/t/a/?style=atom' \
75 "$TESTDIR/get-with-headers.py" localhost:$HGPORT1 '/t/a/?style=atom' \
General Comments 0
You need to be logged in to leave comments. Login now