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