[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
test-init.sh failure on AIX 7.1
From: |
Bruno Haible |
Subject: |
test-init.sh failure on AIX 7.1 |
Date: |
Sat, 28 Jan 2012 20:39:54 +0100 |
User-agent: |
KMail/4.7.4 (Linux/3.1.0-1.2-desktop; KDE/4.7.4; x86_64; ; ) |
Hi Jim,
The recently added test-init.sh test fails on AIX 7.1:
--- exp 2012-01-28 18:51:15.000000000 +0000
+++ out 2012-01-28 18:51:15.000000000 +0000
@@ -1,3 +1,3 @@
--- empty
+++ in
- +xyz
+ + xyz
FAIL: test-init.sh
The reason is that these commands
$ touch empty
$ echo xyz > in
$ diff -u empty in
--- empty 2012-01-28 19:00:16.000000000 +0000
+++ in 2012-01-28 19:00:20.000000000 +0000
@@ -0 +1 @@
+ xyz
produce a unified diff where a space is inserted in column 1 (like in context
diffs).
$ type diff
diff is hashed (/bin/diff)
Find attached a possible fix. (Careful: It contains literal tabs.)
OK to apply?
Bruno
init.sh.diff
Description: Text Data
- test-init.sh failure on AIX 7.1,
Bruno Haible <=