Clarify test description

Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
DL6ER
2019-07-04 16:14:10 +02:00
parent 0afc57fd15
commit 0d4f08dbd3
+10 -7
View File
@@ -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'