Skip to content

Commit d6fb55b

Browse files
committed
Fix CodeFactor issue
1 parent 1c6feea commit d6fb55b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/testhelpers.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ function _test_dmg_has_correct_number_of_blocks() {
2525
}
2626

2727
function _test_dmg_contents_is_same_as_testdata() {
28-
for f in $(ls $HFSFUSE_DIR/src); do
28+
for f in $HFSFUSE_DIR/src/*; do
29+
f=$(basename $f)
2930
echo "Diffing $HFSFUSE_DIR/src/$f"
3031
diff $HFSFUSE_DIR/src/$f <(hfsdump $dmg_file read "/src/$f")
3132
done

0 commit comments

Comments
 (0)