##// END OF EJS Templates
tests: account for different newline behavior between Solaris and GNU grep...
Danek Duvall -
r30852:cdeb0804 stable
parent child Browse files
Show More
@@ -16,11 +16,9 b''
16 compression formats are advertised in compression capability
16 compression formats are advertised in compression capability
17
17
18 #if zstd
18 #if zstd
19 $ get-with-headers.py 127.0.0.1:$HGPORT '?cmd=capabilities' | tr ' ' '\n' | grep compression
19 $ get-with-headers.py 127.0.0.1:$HGPORT '?cmd=capabilities' | tr ' ' '\n' | grep '^compression=zstd,zlib$' > /dev/null
20 compression=zstd,zlib
21 #else
20 #else
22 $ get-with-headers.py 127.0.0.1:$HGPORT '?cmd=capabilities' | tr ' ' '\n' | grep compression
21 $ get-with-headers.py 127.0.0.1:$HGPORT '?cmd=capabilities' | tr ' ' '\n' | grep '^compression=zlib$' > /dev/null
23 compression=zlib
24 #endif
22 #endif
25
23
26 $ killdaemons.py
24 $ killdaemons.py
@@ -29,8 +27,7 b' server.compressionengines can replace en'
29
27
30 $ hg --config server.compressionengines=none -R server serve -p $HGPORT -d --pid-file hg.pid
28 $ hg --config server.compressionengines=none -R server serve -p $HGPORT -d --pid-file hg.pid
31 $ cat hg.pid > $DAEMON_PIDS
29 $ cat hg.pid > $DAEMON_PIDS
32 $ get-with-headers.py 127.0.0.1:$HGPORT '?cmd=capabilities' | tr ' ' '\n' | grep compression
30 $ get-with-headers.py 127.0.0.1:$HGPORT '?cmd=capabilities' | tr ' ' '\n' | grep '^compression=none$' > /dev/null
33 compression=none
34
31
35 $ killdaemons.py
32 $ killdaemons.py
36
33
@@ -38,8 +35,7 b' Order of engines can also change'
38
35
39 $ hg --config server.compressionengines=none,zlib -R server serve -p $HGPORT -d --pid-file hg.pid
36 $ hg --config server.compressionengines=none,zlib -R server serve -p $HGPORT -d --pid-file hg.pid
40 $ cat hg.pid > $DAEMON_PIDS
37 $ cat hg.pid > $DAEMON_PIDS
41 $ get-with-headers.py 127.0.0.1:$HGPORT '?cmd=capabilities' | tr ' ' '\n' | grep compression
38 $ get-with-headers.py 127.0.0.1:$HGPORT '?cmd=capabilities' | tr ' ' '\n' | grep '^compression=none,zlib$' > /dev/null
42 compression=none,zlib
43
39
44 $ killdaemons.py
40 $ killdaemons.py
45
41
General Comments 0
You need to be logged in to leave comments. Login now