aboutsummaryrefslogtreecommitdiff
path: root/cli-tests
diff options
context:
space:
mode:
Diffstat (limited to 'cli-tests')
-rw-r--r--cli-tests/t_not_supported.out4
-rwxr-xr-xcli-tests/t_not_supported.sh4
2 files changed, 4 insertions, 4 deletions
diff --git a/cli-tests/t_not_supported.out b/cli-tests/t_not_supported.out
index ecee56a..68e0897 100644
--- a/cli-tests/t_not_supported.out
+++ b/cli-tests/t_not_supported.out
@@ -1,8 +1,8 @@
# Mount tmpfs
-# Create fscrypt metadata on tmpfs
-Metadata directories created at "MNT/.fscrypt".
+# Try to create fscrypt metadata on tmpfs
+[ERROR] fscrypt setup: filesystem type tmpfs is not supported for fscrypt setup
# Try to encrypt a directory on tmpfs
[ERROR] fscrypt encrypt: This kernel doesn't support encryption on tmpfs
diff --git a/cli-tests/t_not_supported.sh b/cli-tests/t_not_supported.sh
index 53a096a..9ff90e1 100755
--- a/cli-tests/t_not_supported.sh
+++ b/cli-tests/t_not_supported.sh
@@ -9,8 +9,8 @@ _print_header "Mount tmpfs"
umount "$MNT"
mount tmpfs -t tmpfs -o size=128m "$MNT"
-_print_header "Create fscrypt metadata on tmpfs"
-fscrypt setup "$MNT"
+_print_header "Try to create fscrypt metadata on tmpfs"
+_expect_failure "fscrypt setup '$MNT'"
_print_header "Try to encrypt a directory on tmpfs"
mkdir "$MNT/dir"