File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -70,8 +70,9 @@ function test_mount_digest () {
7070 # We should either successfully mount, or start trying and fail for one of these reasons:
7171 # * Permission denied, if not root
7272 # * No such file or directory, if /dev/loop-control is missing
73+ # * Operation not permitted, when running in a sandbox
7374 # What should not happen is that it should fail for fs-verity reasons before trying to mount.
74- $BINDIR /mount.composefs -o basedir=$dir /objects,digest=$DIGEST $dir /test.cfs $dir /mnt 2> $dir /stderr || assert_file_has_content $dir /stderr " Permission denied\|No such file or directory"
75+ $BINDIR /mount.composefs -o basedir=$dir /objects,digest=$DIGEST $dir /test.cfs $dir /mnt 2> $dir /stderr || assert_file_has_content $dir /stderr " Permission denied\|No such file or directory\|Operation not permitted "
7576 umount $dir /mnt 2> $dir /stderr || true
7677 fi
7778}
You can’t perform that action at this time.
0 commit comments