Re: [RFC/PATCH] Use compatibility regex library for OSX/Darwin
- From
Brandon Casey <casey@nrlssc.navy.mil>
- Date
- Sep 17, 2008, 00:13 UTC
- Message-ID
- <SYLwfNw_i8AJD2SReRObweoVtWG2KY6sT1-akI631fOeWpAzh0OGeQ@cipher.nrlssc.navy.mil>
- In-Reply-To
- <alpine.LNX.1.10.0809161808011.17105@suse104.zenez.com>
Boyd Lynn Gerber wrote:
Show 22 quoted lines
> * expecting success: > > ( > unset GIT_CONFIG GIT_WORK_TREE GIT_CONFIG > > mkdir again && > cd again && > git init >out1 2>err1 && > git init >out2 2>err2 > ) && > grep "Initialized empty" again/out1 && > grep "Reinitialized existing" again/out2 && > >again/empty && > test_cmp again/empty again/err1 && > test_cmp again/empty again/err2 > > Initialized empty Git repository in > /home/zenez/build/osr6/git-1.6.0.2/t/trash directory/again/.git/ > Reinitialized existing Git repository in > /home/zenez/build/osr6/git-1.6.0.2/t/trash directory/again/.git/ > diff: ERROR: Illegal option -- u > Usage: diff [ -bcefhrC<n> ] file1 file2
The tests are failing at the test_cmp line. By default, test_cmp is set to 'diff -u'. Perhaps you usually set test_cmp to something else like 'cmp -s' or modify your path so that a more modern diff is used?
-brandon