summary refs log tree commit diff
path: root/lib/tests/filesystem.sh
diff options
context:
space:
mode:
Diffstat (limited to 'lib/tests/filesystem.sh')
-rwxr-xr-xlib/tests/filesystem.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/tests/filesystem.sh b/lib/tests/filesystem.sh
index 61710da92ba2d..4a5ffeb124312 100755
--- a/lib/tests/filesystem.sh
+++ b/lib/tests/filesystem.sh
@@ -51,6 +51,7 @@ checkPathType "$PWD/directory" '"directory"'
 checkPathType "$PWD/regular" '"regular"'
 checkPathType "$PWD/symlink" '"symlink"'
 checkPathType "$PWD/fifo" '"unknown"'
+checkPathType "$PWD/non-existent" "error: evaluation aborted with the following error message: 'lib.filesystem.pathType: Path $PWD/non-existent does not exist.'"
 
 checkPathIsDirectory() {
     local path=$1