comparison setup.py @ 30852:cdeb0804d98c stable

tests: account for different newline behavior between Solaris and GNU grep GNU grep, when emitting a matching line that doesn't have a terminating newline, will add an extra newline. Solaris grep passes the original line through without the newline. This causes differences in test output when looking at the last line of the output of get-with-headers.py, which doesn't usually emit (and certainly doesn't guarantee) a terminating newline. Both grep implementations succeed in matching the requested pattern, though, so rely on specifying the full pattern on grep's commandline instead of expecting it in the output, and send the output to /dev/null.
author Danek Duvall <danek.duvall@oracle.com>
date Sun, 29 Jan 2017 12:40:56 -0800
parents c3db3bb4699f
children 561a019c0268
comparison
equal deleted inserted replaced
30851:7bfe02b57695 30852:cdeb0804d98c