blob: 32dcc64eebdc2ba35843e80d6052379f700c7302 (
plain)
1
2
3
4
5
6
7
8
9
|
#include <assert.h>
#include <errno.h>
#include <stdio.h>
int main() {
FILE* file = fopen("/sandbox/subdir/outside.txt", "r");
assert(file == NULL);
assert(errno == ENOTCAPABLE);
}
|