From: Kristofer Karlsson <redacted>
The next commit adds a "genbytes" command to this file and turns
"genzeros" into a thin wrapper around it. Rename the file in a
separate step first, so that git can detect the rename and the actual
changes show up as a regular diff, which is easier to review.
No functional changes.
Signed-off-by: Kristofer Karlsson <redacted>
---
Makefile | 2 +-
t/helper/meson.build | 2 +-
t/helper/{test-genzeros.c => test-genbytes.c} | 0
3 files changed, 2 insertions(+), 2 deletions(-)
rename t/helper/{test-genzeros.c => test-genbytes.c} (100%)
diff --git a/Makefile b/Makefile
index c2a6098484..8d214286e0 100644
--- a/Makefile
+++ b/Makefile
@@ -825,8 +825,8 @@ TEST_BUILTINS_OBJS += test-env-helper.o
TEST_BUILTINS_OBJS += test-example-tap.o
TEST_BUILTINS_OBJS += test-find-pack.o
TEST_BUILTINS_OBJS += test-fsmonitor-client.o
+TEST_BUILTINS_OBJS += test-genbytes.o
TEST_BUILTINS_OBJS += test-genrandom.o
-TEST_BUILTINS_OBJS += test-genzeros.o
TEST_BUILTINS_OBJS += test-getcwd.o
TEST_BUILTINS_OBJS += test-hash-speed.o
TEST_BUILTINS_OBJS += test-hash.o
diff --git a/t/helper/meson.build b/t/helper/meson.build
index ae513b4cdc..f99688c49b 100644
--- a/t/helper/meson.build
+++ b/t/helper/meson.build
@@ -22,8 +22,8 @@ test_tool_sources = [
'test-example-tap.c',
'test-find-pack.c',
'test-fsmonitor-client.c',
+ 'test-genbytes.c',
'test-genrandom.c',
- 'test-genzeros.c',
'test-getcwd.c',
'test-hash-speed.c',
'test-hash.c',
diff --git a/t/helper/test-genzeros.c b/t/helper/test-genbytes.c
similarity index 100%
rename from t/helper/test-genzeros.c
rename to t/helper/test-genbytes.c
--
gitgitgadget