]> git.ipfire.org Git - thirdparty/tar.git/commitdiff
Port EOF detection test to macOS
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 2 Jan 2024 03:09:59 +0000 (19:09 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 2 Jan 2024 03:12:10 +0000 (19:12 -0800)
* tests/delete06.at: Don’t assume the diagnostic is
“Value too large for defined data type”, as strerror
uses a different wording on macOS 12.6.

tests/delete06.at

index 41e53c22adc86be2f36a6cb324e5413150e03c67..ee5d9853534798149eac7b9e02fd8a8da797f153 100644 (file)
@@ -38,8 +38,6 @@ tar --delete 'b/' -f trunc.tar
 ],
 [2],
 [],
-[tar: lseek: trunc.tar: Value too large for defined data type
-tar: Exiting with failure status due to previous errors
-],[],[],[gnu, pax])
+[stderr],[],[],[gnu, pax])
 
 AT_CLEANUP