1
0
Fork 0
mirror of synced 2024-06-24 17:51:09 -04:00

Improve test helper

This commit is contained in:
Bruno Sutic 2015-08-01 22:24:38 +02:00
parent 830feaae69
commit 39a53e42c8
No known key found for this signature in database
GPG key ID: 66D96E4F2F7EF26C

View file

@ -1,10 +1,5 @@
check_dir_exists_helper() {
local dir_path=$1
if [ -d "$dir_path" ]; then
return 0
else
return 1
fi
[ -d "$1" ]
}
# runs the scripts and asserts it has the correct output and exit code