From 12a429bb9be0f0969139228373d3976c16fe22dd Mon Sep 17 00:00:00 2001 From: Andreas Hatziiliou Date: Sun, 16 Aug 2026 22:25:08 -0400 Subject: [PATCH] Examples: Fix inconsistent symlinks to test RNG Some examples symlinked their test_only_rng directory to another example (examples/basic/test_only_rng) instead of directly to test/notrandombytes/. Point all examples directly at test/notrandombytes/, consistent with the rest of the examples. Fixes #1383 Signed-off-by: Andreas Hatziiliou --- examples/basic_lowram/test_only_rng | 1 - examples/basic_lowram/test_only_rng/notrandombytes.c | 1 + examples/basic_lowram/test_only_rng/notrandombytes.h | 1 + examples/monolithic_build/test_only_rng | 1 - examples/monolithic_build/test_only_rng/notrandombytes.c | 1 + examples/monolithic_build/test_only_rng/notrandombytes.h | 1 + examples/monolithic_build_multilevel/test_only_rng | 1 - .../monolithic_build_multilevel/test_only_rng/notrandombytes.c | 1 + .../monolithic_build_multilevel/test_only_rng/notrandombytes.h | 1 + examples/monolithic_build_multilevel_native/test_only_rng | 1 - .../test_only_rng/notrandombytes.c | 1 + .../test_only_rng/notrandombytes.h | 1 + examples/monolithic_build_native/test_only_rng | 1 - examples/monolithic_build_native/test_only_rng/notrandombytes.c | 1 + examples/monolithic_build_native/test_only_rng/notrandombytes.h | 1 + 15 files changed, 10 insertions(+), 5 deletions(-) delete mode 120000 examples/basic_lowram/test_only_rng create mode 120000 examples/basic_lowram/test_only_rng/notrandombytes.c create mode 120000 examples/basic_lowram/test_only_rng/notrandombytes.h delete mode 120000 examples/monolithic_build/test_only_rng create mode 120000 examples/monolithic_build/test_only_rng/notrandombytes.c create mode 120000 examples/monolithic_build/test_only_rng/notrandombytes.h delete mode 120000 examples/monolithic_build_multilevel/test_only_rng create mode 120000 examples/monolithic_build_multilevel/test_only_rng/notrandombytes.c create mode 120000 examples/monolithic_build_multilevel/test_only_rng/notrandombytes.h delete mode 120000 examples/monolithic_build_multilevel_native/test_only_rng create mode 120000 examples/monolithic_build_multilevel_native/test_only_rng/notrandombytes.c create mode 120000 examples/monolithic_build_multilevel_native/test_only_rng/notrandombytes.h delete mode 120000 examples/monolithic_build_native/test_only_rng create mode 120000 examples/monolithic_build_native/test_only_rng/notrandombytes.c create mode 120000 examples/monolithic_build_native/test_only_rng/notrandombytes.h diff --git a/examples/basic_lowram/test_only_rng b/examples/basic_lowram/test_only_rng deleted file mode 120000 index 440411ebff..0000000000 --- a/examples/basic_lowram/test_only_rng +++ /dev/null @@ -1 +0,0 @@ -../basic/test_only_rng \ No newline at end of file diff --git a/examples/basic_lowram/test_only_rng/notrandombytes.c b/examples/basic_lowram/test_only_rng/notrandombytes.c new file mode 120000 index 0000000000..65b7801b83 --- /dev/null +++ b/examples/basic_lowram/test_only_rng/notrandombytes.c @@ -0,0 +1 @@ +../../../test/notrandombytes/notrandombytes.c \ No newline at end of file diff --git a/examples/basic_lowram/test_only_rng/notrandombytes.h b/examples/basic_lowram/test_only_rng/notrandombytes.h new file mode 120000 index 0000000000..e72c12b9cd --- /dev/null +++ b/examples/basic_lowram/test_only_rng/notrandombytes.h @@ -0,0 +1 @@ +../../../test/notrandombytes/notrandombytes.h \ No newline at end of file diff --git a/examples/monolithic_build/test_only_rng b/examples/monolithic_build/test_only_rng deleted file mode 120000 index b1e04d9b82..0000000000 --- a/examples/monolithic_build/test_only_rng +++ /dev/null @@ -1 +0,0 @@ -../basic/test_only_rng/ \ No newline at end of file diff --git a/examples/monolithic_build/test_only_rng/notrandombytes.c b/examples/monolithic_build/test_only_rng/notrandombytes.c new file mode 120000 index 0000000000..65b7801b83 --- /dev/null +++ b/examples/monolithic_build/test_only_rng/notrandombytes.c @@ -0,0 +1 @@ +../../../test/notrandombytes/notrandombytes.c \ No newline at end of file diff --git a/examples/monolithic_build/test_only_rng/notrandombytes.h b/examples/monolithic_build/test_only_rng/notrandombytes.h new file mode 120000 index 0000000000..e72c12b9cd --- /dev/null +++ b/examples/monolithic_build/test_only_rng/notrandombytes.h @@ -0,0 +1 @@ +../../../test/notrandombytes/notrandombytes.h \ No newline at end of file diff --git a/examples/monolithic_build_multilevel/test_only_rng b/examples/monolithic_build_multilevel/test_only_rng deleted file mode 120000 index b1e04d9b82..0000000000 --- a/examples/monolithic_build_multilevel/test_only_rng +++ /dev/null @@ -1 +0,0 @@ -../basic/test_only_rng/ \ No newline at end of file diff --git a/examples/monolithic_build_multilevel/test_only_rng/notrandombytes.c b/examples/monolithic_build_multilevel/test_only_rng/notrandombytes.c new file mode 120000 index 0000000000..65b7801b83 --- /dev/null +++ b/examples/monolithic_build_multilevel/test_only_rng/notrandombytes.c @@ -0,0 +1 @@ +../../../test/notrandombytes/notrandombytes.c \ No newline at end of file diff --git a/examples/monolithic_build_multilevel/test_only_rng/notrandombytes.h b/examples/monolithic_build_multilevel/test_only_rng/notrandombytes.h new file mode 120000 index 0000000000..e72c12b9cd --- /dev/null +++ b/examples/monolithic_build_multilevel/test_only_rng/notrandombytes.h @@ -0,0 +1 @@ +../../../test/notrandombytes/notrandombytes.h \ No newline at end of file diff --git a/examples/monolithic_build_multilevel_native/test_only_rng b/examples/monolithic_build_multilevel_native/test_only_rng deleted file mode 120000 index b1e04d9b82..0000000000 --- a/examples/monolithic_build_multilevel_native/test_only_rng +++ /dev/null @@ -1 +0,0 @@ -../basic/test_only_rng/ \ No newline at end of file diff --git a/examples/monolithic_build_multilevel_native/test_only_rng/notrandombytes.c b/examples/monolithic_build_multilevel_native/test_only_rng/notrandombytes.c new file mode 120000 index 0000000000..65b7801b83 --- /dev/null +++ b/examples/monolithic_build_multilevel_native/test_only_rng/notrandombytes.c @@ -0,0 +1 @@ +../../../test/notrandombytes/notrandombytes.c \ No newline at end of file diff --git a/examples/monolithic_build_multilevel_native/test_only_rng/notrandombytes.h b/examples/monolithic_build_multilevel_native/test_only_rng/notrandombytes.h new file mode 120000 index 0000000000..e72c12b9cd --- /dev/null +++ b/examples/monolithic_build_multilevel_native/test_only_rng/notrandombytes.h @@ -0,0 +1 @@ +../../../test/notrandombytes/notrandombytes.h \ No newline at end of file diff --git a/examples/monolithic_build_native/test_only_rng b/examples/monolithic_build_native/test_only_rng deleted file mode 120000 index b1e04d9b82..0000000000 --- a/examples/monolithic_build_native/test_only_rng +++ /dev/null @@ -1 +0,0 @@ -../basic/test_only_rng/ \ No newline at end of file diff --git a/examples/monolithic_build_native/test_only_rng/notrandombytes.c b/examples/monolithic_build_native/test_only_rng/notrandombytes.c new file mode 120000 index 0000000000..65b7801b83 --- /dev/null +++ b/examples/monolithic_build_native/test_only_rng/notrandombytes.c @@ -0,0 +1 @@ +../../../test/notrandombytes/notrandombytes.c \ No newline at end of file diff --git a/examples/monolithic_build_native/test_only_rng/notrandombytes.h b/examples/monolithic_build_native/test_only_rng/notrandombytes.h new file mode 120000 index 0000000000..e72c12b9cd --- /dev/null +++ b/examples/monolithic_build_native/test_only_rng/notrandombytes.h @@ -0,0 +1 @@ +../../../test/notrandombytes/notrandombytes.h \ No newline at end of file