Skip to content

Commit

Permalink
fix(test): Pass all three required arguments to expect_file_count (cc…
Browse files Browse the repository at this point in the history
  • Loading branch information
gjasny authored Aug 29, 2021
1 parent 2397a06 commit 2d2500c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/run
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ expect_file_count() {
local expected=$1
local pattern=$2
local dir=$3
local actual=`find $dir -type f -name "$pattern" | wc -l`
local actual=`find "$dir" -type f -name "$pattern" | wc -l`
if [ $actual -ne $expected ]; then
test_failed_internal "Found $actual (expected $expected) $pattern files in $dir"
fi
Expand Down
2 changes: 1 addition & 1 deletion test/suites/secondary_file.bash
Original file line number Diff line number Diff line change
Expand Up @@ -245,5 +245,5 @@ SUITE_secondary_file() {
expect_stat primary_storage_miss 4
expect_stat secondary_storage_hit 2
expect_stat secondary_storage_miss 2
expect_file_count 0
expect_file_count 3 '*' secondary # CACHEDIR.TAG + result + manifest
}

0 comments on commit 2d2500c

Please sign in to comment.