libbacktrace patch committed: Update test file

Message ID CAOyqgcU+XGO7J9bznV1QqjZELffh2GN4wP4ywwmU4rpE_BKeSA@mail.gmail.com
State New
Headers show
Series
  • 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.

Ian

2020-02-15  Ian Lance Taylor  <iant@golang.org>

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

Patch

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;