summaryrefslogtreecommitdiff
path: root/tests/common
diff options
context:
space:
mode:
Diffstat (limited to 'tests/common')
-rw-r--r--tests/common4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/common b/tests/common
index e653d4c6..5430f822 100644
--- a/tests/common
+++ b/tests/common
@@ -202,6 +202,10 @@ check_all_images()
local extracted
dir="$1"
+ if [ -z "$dir" ]; then
+ dir=.
+ fi
+ _assert_path "$dir"
for image in $(find "$dir" \( -iname '*.img' -o \
-iname '*.img.xz' -o \
-iname '*.raw' -o \