// P : mkdir -p capture // P : touch capture/file // S : tags min capture // S : cc -o test.bc $file // S : expect --result valid // S : verify --capture capture/file:follow:/file.txt -o nofail:vfs test.bc #include #include #include #include int main() { int fd = open( "file.txt", O_RDONLY ); assert( fd >= 0 ); assert( close( fd ) == 0 ); return 0; }