libbacktrace patch committed: Update test file

Message ID
State New
Headers show
  • libbacktrace patch committed: Update test file
Related show

Commit Message

Ian Lance Taylor Feb. 16, 2020, 2:25 a.m.
This libbacktrace patch updates the test file used for comparisons
with zlib.  The file that the test was previously using, from libgo,
no longer exists.  Use its replacement file instead.  Bootstrapped and
ran libbacktrace tests on x86_64-pc-linux-gnu.  Committed to mainline.


2020-02-15  Ian Lance Taylor  <>

* ztest.c (test_large): Update file to current libgo test file.


diff --git a/libbacktrace/ztest.c b/libbacktrace/ztest.c
index 40f9c389a2a..2663c90061a 100644
--- a/libbacktrace/ztest.c
+++ b/libbacktrace/ztest.c
@@ -315,8 +315,8 @@  test_large (struct backtrace_state *state)
   size_t ctimes[16];
   size_t ztimes[16];
   static const char * const names[] = {
-    "Mark.Twain-Tom.Sawyer.txt",
-    "../libgo/go/compress/testdata/Mark.Twain-Tom.Sawyer.txt"
+    "Isaac.Newton-Opticks.txt",
+    "../libgo/go/testdata/Isaac.Newton-Opticks.txt",
   orig_buf = NULL;