##// 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 65 echo % should succeed, slashy names
66 66 "$TESTDIR/get-with-headers.py" localhost:$HGPORT1 '/?style=raw'
67 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 69 "$TESTDIR/get-with-headers.py" localhost:$HGPORT1 '/t?style=raw'
70 70 "$TESTDIR/get-with-headers.py" localhost:$HGPORT1 '/t/?style=raw'
71 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 73 "$TESTDIR/get-with-headers.py" localhost:$HGPORT1 '/t/a?style=atom' \
74 74 | sed "s/http:\/\/[^/]*\//http:\/\/127.0.0.1\//"
75 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