overlay: test cases that force read-only mount
authorAmir Goldstein <amir73il@gmail.com>
Tue, 11 Jul 2017 19:52:05 +0000 (22:52 +0300)
committerEryu Guan <eguan@redhat.com>
Fri, 14 Jul 2017 07:41:46 +0000 (15:41 +0800)
commitabde53bc1522d0df1ec509cc1f4964a75c078217
tree51be4020b9a0d4fa5a21f11a0afe007d72e2a4e2
parent75365cf6b782534ad60e79786d810661a6fe800e
overlay: test cases that force read-only mount

Verify that overlay is mounted read-only and that it cannot
be remounted rw.

- Mount with no upper dir
- Failure to create work dir

Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
tests/overlay/035 [new file with mode: 0755]
tests/overlay/035.out [new file with mode: 0644]
tests/overlay/group