Commit cb1a62f7 authored by Ramon Nou's avatar Ramon Nou
Browse files

Removed O_PATH error test

parent c3c998dc
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -516,7 +516,7 @@ hook(long syscall_number, long arg0, long arg1, long arg2, long arg3, long arg4,
            }
            *result = 0;
            break;
#endif SYS_close_range
#endif // SYS_close_range
#ifdef SYS_stat
        case SYS_stat:
            *result =
+2 −2
Original line number Diff line number Diff line
@@ -46,8 +46,8 @@ def test_open_error(gkfs_daemon, gkfs_client):
    file = gkfs_daemon.mountdir / "file"
    file2 = gkfs_daemon.mountdir / "file2"
    file3 = gkfs_daemon.mountdir / "file3"
    
    flags = [os.O_PATH, os.O_CREAT | os.O_DIRECTORY]
    # O_PATH is now supported as cp uses it..
    flags = [os.O_CREAT | os.O_DIRECTORY]
    # create a file in gekkofs

    for flag in flags: