Skip to content

Commit 7cd0603

Browse files
committed
Fix test_unistd_open
1 parent 39428ce commit 7cd0603

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

test/wasmfs/wasmfs_open.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -89,11 +89,7 @@ int main() {
8989
int fd5 = open("/dev/stdout/foo", O_RDWR);
9090
printf("Errno: %s\n", strerror(errno));
9191
// Both errors are valid, but in WasmFS, ENOTDIR is returned first.
92-
#ifdef WASMFS
9392
assert(errno == ENOTDIR);
94-
#else
95-
assert(errno == ENOENT);
96-
#endif
9793

9894
errno = 0;
9995
// Attempt to open and write to the root directory.

0 commit comments

Comments
 (0)