[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
bin/51875: [PATCH] tests/usr.bin/grep/...: portability fixes
>Synopsis: [PATCH] tests/usr.bin/grep/...: portability fixes
>Arrival-Date: Sat Jan 14 13:30:00 +0000 2017
>Originator: Ngie Cooper
The attached patch does the following 2 things to ensure improved portability:
1. Doesn't assume that uname output is in /bin/sh ([un]fortunately uname can be overridden on FreeBSD, which means that the binary branding might not match the OS branding). Create a bogus temporary file instead.
2. Sort the output from grep, as not all filesystems might presenting the output in the same way.
Main Index |
Thread Index |