From 27aafa985a5ff167b727e4dfc489f583ff450b90 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 9 Jan 1999 15:44:27 +0000 Subject: [PATCH] (null-1): Add test from Jochen Hein. --- tests/head/Test.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/head/Test.pm b/tests/head/Test.pm index aa8c58a284..5259bafe9a 100644 --- a/tests/head/Test.pm +++ b/tests/head/Test.pm @@ -38,6 +38,8 @@ my @tv = ( # In spite of its name, this test passes -- just to contrast with the above. ['fail-1', '-n 2048m', "a\n", "a\n", 0], +# Make sure we don't break like AIX 4.3.1 on files with \0 in them. +['null-1', '', "a\0a\n", "a\0a\n", 0], ); sub test_vector -- 2.47.3