From a72476beef5e890852d49b7c6e4ffad0e9f1d5d8 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Wed, 8 Oct 2025 17:14:58 -0500 Subject: [PATCH] Fix test. --- tests/tar.test | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/tar.test b/tests/tar.test index 60ec9808..9c46979b 100755 --- a/tests/tar.test +++ b/tests/tar.test @@ -43,8 +43,8 @@ testing "-T newline" "$TAR -T input | LST" \ "-rw-rw-r-- root/sys 0 2009-02-13 23:31 file1\n-rw-rw-r-- root/sys 0 2009-02-13 23:31 file2\n" "file1\nfile2\n" "" testing "-T null" "$TAR --null -T input | LST" \ "-rw-rw-r-- root/sys 0 2009-02-13 23:31 file1\n-rw-rw-r-- root/sys 0 2009-02-13 23:31 file2\n" "file1\0file2\0" "" -testing "empty -T creates empty tarball" "tar c | SUM 2" \ - "da39a3ee5e6b4b0d3255bfef95601890afd80709\n" "" "" +testing "empty -T creates empty tarball" "tar c -T /dev/null | SUM 2" \ + "60cacbf3d72e1e7834203da608037b1bf83b40e8\n" "" "" # User "root" is UID 0 and group "sys" is GID 3 (on Linux, BSD, and Mac), # inherited from Bell Labs Unix v7 -- 2.39.5