From 0d4f08dbd3cad2ff2dd549e527e3ec775b0ec345 Mon Sep 17 00:00:00 2001 From: DL6ER Date: Thu, 4 Jul 2019 16:14:10 +0200 Subject: [PATCH] Clarify test description Signed-off-by: DL6ER --- test/test_suite.bats | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/test/test_suite.bats b/test/test_suite.bats index 87e3e100..f053e886 100644 --- a/test/test_suite.bats +++ b/test/test_suite.bats @@ -301,6 +301,7 @@ } # "ldd" prints library dependencies and the used interpreter for a given program +# # Dependencies on shared libraries are displayed like # libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fa7d28be000) # @@ -315,14 +316,16 @@ } # "file" determines the file type of our generated binary -# More specifically, we use its ability to test whether a specific interpreter -# is needed required by the given executable. What the interpreter is is not -# really well documented in "man elf(5)", however, one can say that the -# interpreter is a program that finds and loads the shared libraries -# needed by a program, prepares the program to run, and then runs it. # -# In this test, we use file to confirm the absence of the dependence on an -# interpreter for the static binary. +# We use its ability to test whether a specific interpreter is +# required by the given executable. What the interpreter is, is not +# really well documented in "man elf(5)", however, one can say that +# the interpreter is a program that finds and loads the shared +# libraries needed by a program, prepares the program to run, and then +# runs it. +# +# In this test, we use "file" to confirm the absence of the dependence +# on an interpreter for the static binary. @test "Dependence on specific interpreter" { run bash -c 'file ./pihole-FTL'