diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/test-functions | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/test-functions b/test/test-functions index 55d43134ea..961a6254d8 100644 --- a/test/test-functions +++ b/test/test-functions @@ -212,6 +212,10 @@ check_result_nspawn() { } strip_binaries() { + if [[ "$STRIP_BINARIES" = "no" ]]; then + ddebug "Don't strip binaries" + return 0 + fi ddebug "Strip binaries" find "$initdir" -executable -not -path '*/lib/modules/*.ko' -type f | xargs strip --strip-unneeded | ddebug } |