[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: diffutils-3.8.43-2d50 on Solaris 11.4

From: Bruno Haible
Subject: Re: diffutils-3.8.43-2d50 on Solaris 11.4
Date: Mon, 02 Jan 2023 16:00:36 +0100

On Solaris 11.4, one of the test fails:

FAIL: colors

Find attached the logs.

The log shows this:

++ diff -u a b
++ grep -F .
grep: illegal option -- F
Usage: grep [-c|-l|-q] -bhinsvw pattern file . . .
+ nanosecond_zeros=

The value of nanosecond_zeros is wrong, because the command 'grep -F .' failed.

On Solaris 11.4, there are 4 grep programs:
  - /usr/bin/grep and /usr/ccs/bin/grep do NOT support the -F option.
  - /usr/xpg4/bin/grep and /usr/gnu/bin/grep do support the -F option.
The default $PATH contains only /usr/bin/grep.

The simplest fix is to replace, in tests/colors, the command
  grep -F .
  grep '\.'
  grep '[.]'
I have tested both.


Attachment: solaris-11.4-results.tar.gz
Description: application/compressed-tar

reply via email to

[Prev in Thread] Current Thread [Next in Thread]