Skip to content

Commit

Permalink
add chk-no-file()
Browse files Browse the repository at this point in the history
  • Loading branch information
Mrfai committed Nov 1, 2022
1 parent 7e57186 commit 7aa5e69
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions debian/tests/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,15 @@ chk-file() {
fi
}
# - - - - - - - - - - - - - - - - -
chk-no-file() {

# check that files does not exist
local file=$1
if [ -f $file ]; then
error "$file exists, but it should not."
fi
}
# - - - - - - - - - - - - - - - - -
chk-size() {

# check if the disk space of a path is greater than minsize
Expand Down

0 comments on commit 7aa5e69

Please sign in to comment.