diff options
Diffstat (limited to 'gl/tests/test-init.sh')
-rwxr-xr-x | gl/tests/test-init.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gl/tests/test-init.sh b/gl/tests/test-init.sh index 1dd05f4504..a6278599ad 100755 --- a/gl/tests/test-init.sh +++ b/gl/tests/test-init.sh @@ -57,7 +57,8 @@ EOF # Also remove the @@ line, since Solaris 5.10 and GNU diff formats differ: # -@@ -0,0 +1 @@ # +@@ -1,0 +1,1 @@ - sed 's/ .*//;/^@@/d' out > k && mv k out + # Also, remove space after leading '+', since AIX 7.1 diff outputs a space. + sed 's/ .*//;/^@@/d;s/^+ /+/' out > k && mv k out cat <<\EOF > exp --- empty +++ in |