test: explicitly report if we fail to install a file into the image

This commit is contained in:
Frantisek Sumsal 2021-09-22 10:59:52 +02:00
parent f4e64b6e34
commit 7074c047c1

View file

@ -2358,6 +2358,8 @@ inst() {
for fun in inst_symlink inst_script inst_binary inst_simple; do
"$fun" "$@" && return 0
done
dwarn "Failed to install '$1'"
return 1
}