Updated closetest to open /bin/true instead of sys161.conf
This commit is contained in:
parent
4bbcf5839e
commit
eff0f9152c
@ -54,7 +54,7 @@ main(int argc, char **argv)
|
|||||||
|
|
||||||
int ret, fd = -1;
|
int ret, fd = -1;
|
||||||
// Try to open a file and then close it
|
// Try to open a file and then close it
|
||||||
fd = open("sys161.conf", O_RDONLY);
|
fd = open("/bin/true", O_RDONLY);
|
||||||
if(fd < 0) {
|
if(fd < 0) {
|
||||||
err(-1, "Open syscall failed");
|
err(-1, "Open syscall failed");
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user