Searched refs:unlink (Results 1 - 25 of 745) sorted by relevance

1234567891011>>

/openbsd-current/regress/sys/ffs/tests/unlink/
H A D13.t2 # $FreeBSD: src/tools/regression/fstest/tests/unlink/13.t,v 1.1 2007/01/17 01:42:12 pjd Exp $
4 desc="unlink returns EFAULT if the path argument points outside the process's allocated address space"
6 expect EFAULT unlink NULL
7 expect EFAULT unlink DEADCODE
H A D02.t2 # $FreeBSD: src/tools/regression/fstest/tests/unlink/02.t,v 1.1 2007/01/17 01:42:12 pjd Exp $
4 desc="unlink returns ENAMETOOLONG if a component of a pathname exceeded 255 characters"
7 expect 0 unlink ${name255}
8 expect ENOENT unlink ${name255}
9 expect ENAMETOOLONG unlink ${name256}
H A D04.t2 # $FreeBSD: src/tools/regression/fstest/tests/unlink/04.t,v 1.1 2007/01/17 01:42:12 pjd Exp $
4 desc="unlink returns ENOENT if the named file does not exist"
10 expect 0 unlink ${n0}
11 expect ENOENT unlink ${n0}
12 expect ENOENT unlink ${n1}
H A D07.t2 # $FreeBSD: src/tools/regression/fstest/tests/unlink/07.t,v 1.1 2007/01/17 01:42:12 pjd Exp $
4 desc="unlink returns ELOOP if too many symbolic links were encountered in translating the pathname"
11 expect ELOOP unlink ${n0}/test
12 expect ELOOP unlink ${n1}/test
13 expect 0 unlink ${n0}
14 expect 0 unlink ${n1}
H A D09.t2 # $FreeBSD: src/tools/regression/fstest/tests/unlink/09.t,v 1.1 2007/01/17 01:42:12 pjd Exp $
4 desc="unlink returns EPERM if the named file has its immutable, undeletable or append-only flag set"
10 expect EPERM unlink ${n0}
12 expect 0 unlink ${n0}
16 expect EPERM unlink ${n0}
18 expect 0 unlink ${n0}
22 expect EPERM unlink ${n0}
24 expect 0 unlink ${n0}
28 expect EPERM unlink ${n0}
30 expect 0 unlink
[all...]
H A D01.t2 # $FreeBSD: src/tools/regression/fstest/tests/unlink/01.t,v 1.1 2007/01/17 01:42:12 pjd Exp $
4 desc="unlink returns ENOTDIR if a component of the path prefix is not a directory"
11 expect ENOTDIR unlink ${n0}/${n1}/test
12 expect 0 unlink ${n0}/${n1}
H A D10.t2 # $FreeBSD: src/tools/regression/fstest/tests/unlink/10.t,v 1.1 2007/01/17 01:42:12 pjd Exp $
4 desc="unlink returns EPERM if the parent directory of the named file has its immutable or append-only flag set"
13 expect EPERM unlink ${n0}/${n1}
15 expect 0 unlink ${n0}/${n1}
19 expect EPERM unlink ${n0}/${n1}
21 expect 0 unlink ${n0}/${n1}
25 expect EPERM unlink ${n0}/${n1}
27 expect 0 unlink ${n0}/${n1}
31 expect EPERM unlink ${n0}/${n1}
33 expect 0 unlink
[all...]
/openbsd-current/regress/sys/ffs/tests/link/
H A D02.t10 expect 0 unlink ${name255}
12 expect 0 unlink ${n0}
13 expect 0 unlink ${name255}
17 expect 0 unlink ${n0}
H A D09.t11 expect 0 unlink ${n0}
12 expect 0 unlink ${n1}
H A D10.t13 expect 0 unlink ${n1}
21 expect 0 unlink ${n1}
25 expect 0 unlink ${n1}
27 expect 0 unlink ${n0}
/openbsd-current/regress/sys/ffs/tests/symlink/
H A D02.t9 expect 0 unlink ${n0}
11 expect 0 unlink ${name255}
15 expect 0 unlink ${n0}
H A D07.t13 expect 0 unlink ${n0}
14 expect 0 unlink ${n1}
/openbsd-current/gnu/usr.bin/gcc/gcc/config/alpha/
H A Dxm-vms.h30 /* Define a local equivalent (sort of) for unlink */
31 #define unlink remove macro
/openbsd-current/regress/sys/ffs/tests/chmod/
H A D06.t13 expect 0 unlink ${n0}
14 expect 0 unlink ${n1}
/openbsd-current/regress/sys/ffs/tests/chown/
H A D06.t13 expect 0 unlink ${n0}
14 expect 0 unlink ${n1}
/openbsd-current/regress/sys/ffs/tests/mkdir/
H A D07.t13 expect 0 unlink ${n0}
14 expect 0 unlink ${n1}
/openbsd-current/regress/sys/ffs/tests/mkfifo/
H A D07.t13 expect 0 unlink ${n0}
14 expect 0 unlink ${n1}
H A D02.t7 expect 0 unlink ${name255}
/openbsd-current/regress/sys/ffs/tests/rmdir/
H A D05.t13 expect 0 unlink ${n0}
14 expect 0 unlink ${n1}
/openbsd-current/regress/sys/ffs/tests/truncate/
H A D07.t13 expect 0 unlink ${n0}
14 expect 0 unlink ${n1}
/openbsd-current/usr.bin/sdiff/
H A Dcommon.c17 if (unlink(filename))
/openbsd-current/regress/lib/libc/sys/
H A Dt_unlink.c44 static char path[] = "unlink";
49 atf_tc_set_md_var(tc, "descr", "A basic test of unlink(2)");
64 ATF_REQUIRE(unlink(path) == 0);
73 (void)unlink(path);
79 atf_tc_set_md_var(tc, "descr", "Test error conditions of unlink(2)");
89 ATF_REQUIRE(unlink("/") == -1);
92 ATF_REQUIRE_ERRNO(ENAMETOOLONG, unlink(buf) == -1);
95 ATF_REQUIRE_ERRNO(ENOENT, unlink("/a/b/c/d/e/f/g/h/i/j/k/l/m") == -1);
100 (void)unlink(path);
106 atf_tc_set_md_var(tc, "descr", "Test unlink(
[all...]
/openbsd-current/gnu/lib/libiberty/src/
H A Drename.c31 if (unlink (zto) < 0
35 return unlink (zfrom);
/openbsd-current/gnu/gcc/gcc/config/alpha/
H A Dxm-vms.h27 /* Define a local equivalent (sort of) for unlink */
28 #define unlink remove macro
51 if (unlink (NAME) < 0) \
/openbsd-current/gnu/gcc/gcc/config/bfin/
H A Dcrtn.s38 unlink;
47 unlink;

Completed in 139 milliseconds

1234567891011>>