We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 223d7a6 commit 6881d28Copy full SHA for 6881d28
usr/libexec/helper-scripts/strings.bsh
@@ -327,10 +327,9 @@ strings_bsh_error_trap() {
327
exit 1
328
}
329
330
-if [[ "usr/libexec/helper-scripts/strings.bsh" == "${0}" ]]; then
331
- string_bsh_tests
332
-fi
333
-if [[ "/usr/libexec/helper-scripts/strings.bsh" == "${0}" ]]; then
+## Useful in case this script is copied verbatim into another script such as
+## in package 'usability-misc' file 'dist-installer-cli-standalone'.
+if ! [ "${SKIP_UNIT_TESTS-}" = "true" ]; then
334
string_bsh_tests
335
fi
336
0 commit comments