Searched refs:truncate (Results 1 – 25 of 211) sorted by relevance
123456789
75 atf_check -s not-exit:0 -e file:stderr.txt truncate -7 -s0 output.txt90 atf_check -s not-exit:0 -e file:stderr.txt truncate -s+1L output.txt106 truncate -s8388608t output.txt118 atf_check truncate -c -s 0 doesnotexist.txt121 atf_check truncate -c -r reference doesnotexist.txt128 atf_check -e file:stderr.txt truncate -c -s1 exists.txt144 atf_check -s not-exit:0 -e file:stderr.txt truncate -s0 -r afile afile158 atf_check -s not-exit:0 -e file:stderr.txt truncate -s1172 atf_check -s not-exit:0 -e file:stderr.txt truncate -r afile afile191 atf_check -s not-exit:0 -e file:stderr.txt truncate -s1 exists.txt[all …]
35 atf_check truncate -s 10g sparse.file96 atf_check truncate -s 0 foo bar106 atf_check truncate -s 1k A107 atf_check truncate -s 1m B108 atf_check truncate -s 1g C109 atf_check truncate -s 1t D120 atf_check truncate -s 1k A121 atf_check truncate -s 1m B122 atf_check truncate -s 1g C123 atf_check truncate -s 1t D[all …]
27 expect EPERM truncate ${n0} 12330 expect 0 truncate ${n0} 12336 expect 0 truncate ${n0} 12344 expect EPERM truncate ${n0} 12348 expect 0 truncate ${n0} 12356 expect EPERM truncate ${n0} 12359 expect 0 truncate ${n0} 12365 expect 0 truncate ${n0} 12372 expect EPERM truncate ${n0} 12375 expect 0 truncate ${n0} 123
22 expect 0 -u 65534 -g 65534 truncate ${n1}/${n2} 12325 expect EACCES -u 65534 -g 65534 truncate ${n1}/${n2} 123428 expect 0 -u 65534 -g 65534 truncate ${n1}/${n2} 1234
22 expect 0 truncate ${n0}/${n1} 12325 expect EROFS truncate ${n0}/${n1} 123428 expect 0 truncate ${n0}/${n1} 1234
12 expect EFAULT truncate NULL 12313 expect EFAULT truncate DEADCODE 123
16 expect ENOENT truncate ${n0}/${n1}/test 12317 expect ENOENT truncate ${n0}/${n1} 123
16 expect 0 truncate ${nx} 12319 expect ENAMETOOLONG truncate ${nxx} 123
18 expect 0 truncate ${nx} 12321 expect ENAMETOOLONG truncate ${nxx} 123
17 expect ELOOP truncate ${n0}/test 12318 expect ELOOP truncate ${n1}/test 123
20 expect 0 truncate ${n0} 123456722 expect 0 truncate ${n0} 56727 expect 0 truncate ${n0} 2345629 expect 0 truncate ${n0} 137 expect 0 truncate ${n0} 12346 expect EACCES -u 65534 truncate ${n0} 123
15 expect EINVAL -- truncate ${n0} -116 expect EINVAL -- truncate ${n0} -999999
19 expect EACCES -u 65534 -g 65534 truncate ${n1} 12322 expect EACCES -u 65534 -g 65534 truncate ${n1} 123
39 . $(atf_get_srcdir)/truncate.cfg48 . $(atf_get_srcdir)/truncate.cfg63 . $(atf_get_srcdir)/truncate.cfg72 . $(atf_get_srcdir)/truncate.cfg
23 # $FreeBSD: stable/12/tests/sys/cddl/zfs/tests/truncate/truncate.cfg 329867 2018-02-23 16:31:00Z as…29 # ident "@(#)truncate.cfg 1.3 08/08/15 SMI"
126 ATF_REQUIRE(truncate(path, sizes[i]) == 0); in ATF_TC_BODY()156 ATF_REQUIRE_ERRNO(EFAULT, truncate((void *)-1, 999) == -1); in ATF_TC_BODY()159 ATF_REQUIRE_ERRNO(EISDIR, truncate("/etc", 999) == -1); in ATF_TC_BODY()162 ATF_REQUIRE_ERRNO(ENOENT, truncate("/a/b/c/d/e/f/g", 999) == -1); in ATF_TC_BODY()167 ATF_REQUIRE_ERRNO(EACCES, truncate(buf, 999) == -1); in ATF_TC_BODY()
133 atf_check -s exit:0 truncate -s 64m msdos.img144 atf_check -s exit:0 truncate -s 64m msdos.img155 atf_check -s exit:0 truncate -s 64m msdos.img167 atf_check -s exit:0 truncate -s 64m msdos.img254 atf_check -s exit:0 truncate -s 256m zeros