summaryrefslogtreecommitdiff
path: root/test/test-common.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test/test-common.sh')
-rwxr-xr-xtest/test-common.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/test-common.sh b/test/test-common.sh
index 64ff660..81c8557 100755
--- a/test/test-common.sh
+++ b/test/test-common.sh
@@ -112,3 +112,7 @@ equals() {
IFS= read -rd '' stdin || :
[[ $1 == "$stdin" ]]
}
+
+globfile() {
+ [[ -f $1 ]]
+}