Commit Graph

433 Commits

Author SHA1 Message Date
dholland
796a8727a3 Remove rubbish. 2015-08-30 18:27:26 +00:00
dholland
aeaad94cd5 Fix glaringly wrong indent. 2015-08-29 19:19:43 +00:00
christos
fddcbf3df7 don't abuse %m in printf
fix error messages
2015-08-21 14:19:10 +00:00
riastradh
03d306e2dd Apparently I fixed t_unpriv:zfs_owner and didn't notice. 2015-04-09 19:51:13 +00:00
riastradh
3d61be1880 Advisory locking for zfs. 2015-04-09 19:47:05 +00:00
riastradh
bc95daf1f6 Fix vattr_init_mask: mode is mode_t, not u_short.
Fixes fs/vfs/t_vnops:zfs_attrs test.
2015-04-09 05:32:53 +00:00
riastradh
d0319a8396 Tests claim rename(..., "x/.") yields EISDIR, so do that. Fixes zfs. 2015-04-09 05:03:58 +00:00
riastradh
8aa34a7d8b Fix return code of rmdir(nonempty) in zfs: ENOTEMPTY, not EEXIST. 2015-04-09 05:02:28 +00:00
riastradh
a26f29c67f Fix remaining read(fd, NULL, 1) cases. 2015-04-04 12:34:44 +00:00
riastradh
a9b674d150 Let I/O errors override inode update errors in UFS.
Fixes tests/fs/vfs/t_io:read_fault for UFS.
2015-03-28 17:45:47 +00:00
riastradh
7fc64193c5 This doesn't affect p2k_ffs after all, no idea why yet. 2015-03-28 16:39:31 +00:00
riastradh
9707ebf68d Test that read fails with EFAULT even if O_SYNC|O_RSYNC are set. 2015-03-28 16:17:25 +00:00
riastradh
8c0065db93 Make this run in NetBSD 6 by using st_mtimespec instead of st_mtim.
st_mtimespec is our traditional nonstandard name for what POSIX
called st_mtim in 2008, but these aren't going to run in non-NetBSD
anyway so using the nonstandard name shouldn't be an issue.
2015-03-24 23:24:55 +00:00
riastradh
1674867715 zfs tests don't actually need privileges. 2015-03-24 23:22:47 +00:00
pooka
c5d51f5087 one more MKZFS fix (how many subdirs does this place have?) 2015-01-08 04:00:31 +00:00
pooka
e8f299cad3 fix MKZFS=yes ports 2015-01-08 03:50:56 +00:00
pooka
f454f435c3 edit one more particularly well-hidden site needing -lrumpkern_sysproxy 2015-01-07 23:12:31 +00:00
pooka
0397f3a735 Move sysproxy support into a separate component, rumpkern_sysproxy,
instead of it being always provided by the rump kernel base.  This
move accomplishes two things:

1) it is no longer necessary to provide sysproxy hypercall stubs for
   platforms which do not want to use sysproxy
2) it is easier to reason about the security aspects, since configurations
   not linking the sysproxy component simply do not support remote
   system calls

discussed on rumpkernel-users
2015-01-07 22:24:03 +00:00
hannken
08aa9f9f06 Test v7fs_lstat_symlink is no longer expected to fail. 2014-12-29 15:31:44 +00:00
gson
76c3358a67 Mark v7fs_lstat_symlink as an expected failure, referencing PR kern/48864. 2014-09-09 06:51:00 +00:00
gson
dec58dec7c Add a test of symlinks with long targets. 2014-09-07 09:10:09 +00:00
gson
1beb02a6c3 Don't pass an uninitialized variable as the times[] argument of
rump_sys_utimes().  Instead, pass combinations of values representing
edge cases: the farthest possible past, the epoch, and the farthest
possible future.  Now the excessive runtime reported in PR bin/49144
occurs reliably, on multiple architectures, and not only with udf, but
also with msdosfs.
2014-08-29 17:39:18 +00:00
gson
9f88f3f33c Mark udf_lookup_complex as an expected failure, referencing PR kern/49033.
Since it does not fail reliably, force it to fail to avoid spurious failure
reports due to unexpected success.
2014-08-12 12:13:09 +00:00
gson
b6f40f55e0 Mark the udf_renamerace test case (but not udf_renamerace_dirs) as an
expected failure again, now with a reference to PR kern/49046.
Since the test only fails part of the time, force failure to
avoid failure reports reports due to unexpected success.
2014-07-29 09:15:48 +00:00
pgoyette
fa995b7822 Remove atf_tc_expect_fail() calls for udf file-system. These tests are
currently passing.  As discussed on current-users.  Any new failures
should be reported via send-pr.
2014-07-25 13:44:59 +00:00
martin
dbd2e87e49 PR kern/49033: try to provide better diagnostics if the udf_lookup_complex
test randomly fails.
2014-07-25 12:16:22 +00:00
pgoyette
b9e0c7c1f5 Update disk-space-available requirement to match reality, and leave a
little extra just in case.  The test file is much larger than previously
indicated.

Thanks martin@ for detailed investigation.
2014-07-07 22:06:02 +00:00
martin
7c2f361f8e Properly initialize arguments for the tmpfs mounted in this test.
Pointed out by pooka@.
2014-06-10 13:15:18 +00:00
he
f693807fd8 Fix static linking for the tests: -lrump is also used by -lrumpuser,
so we also need -lrump after -lrumpuser.  Fixes build for sun2.
2014-06-10 04:28:39 +00:00
pgoyette
cbaf1827a0 Convert size check to use 1K blocks (more human-friendly), and fix
atf_skip message to reference block size rather than bytes.

OK martin@
2014-06-08 13:45:14 +00:00
njoly
954ca52517 Add testcase that check lstat(2) values for symbolic links (PR
kern/48864).
2014-06-03 11:56:07 +00:00
martin
4e0f19c597 Set a bigger timeout - this test needs > 3000s on my shark (mostly for
unpacking the test image)
2014-05-15 14:53:05 +00:00
christos
03a5ccb524 CID 975238: Unchecked returns 2014-05-12 15:31:07 +00:00
martin
9ce5f7726e Add a test case for PR kern/48787. 2014-05-10 14:15:25 +00:00
njoly
db479b4209 Retrict rumpfs to the provided size, like other filesystems. 2014-03-16 10:28:03 +00:00
gson
d34c9aa571 Add -lrumpnet_netinet6 to the rump_server invocation, to stop
rpc.rquotad from printing the error message "rpc.rquotad:
_svc_tli_create: could not open connection for udp6: Address family
not supported by protocol family".  The error message currently ends
up in /dev/null because it is printed to stderr after calling daemon()
with noclose=0, but if the daemonization is moved to a later point to
fix the race condition of PR misc/48282, it will actually appear on
stderr and break the test, which is expecting stderr to be empty.
2014-03-13 12:45:14 +00:00
joerg
5c4c6caf71 Make the abs() use check non-fatal for a bogus use in the LFS cleanerd. 2014-03-04 21:06:47 +00:00
hannken
9cd2f4b930 Operation sysvbfs_remove() destructs inodes attached to active vnodes.
Defer the destruction to sysvbfs_reclaim().

Disable test t_renamerace:sysvbfs_renamerace as it will exhaust the
inode table (sysvbfs has space for 8 inodes only).

Ok: Izumi Tsutsui <tsutsui@netbsd.org>
2014-01-09 13:23:57 +00:00
christos
d56fcfc956 fix unused variable warnings 2013-10-19 17:45:00 +00:00
pooka
2e16209595 Remove what looks like an outdated assert (there was something very sneaky
about this code, but my memory is fading ...)
2013-09-09 19:47:38 +00:00
pooka
40df3663d1 tests for i/o-after-unlink 2013-08-04 11:02:02 +00:00
skrll
6d42eea15e Slow hardware needs longer, especially for default_deny_user_big 2013-07-29 13:15:24 +00:00
njoly
1fe37e8eed Check that rename(2) with NULL arguments fail with EFAULT. 2013-07-28 09:03:43 +00:00
reinoud
ef76be89bb Update test cases for UDF now udf_rename() uses the genfs_rename framework 2013-07-10 18:55:00 +00:00
reinoud
f3954b9d18 Cover the last failing UDF test cases with a reference to PR kern/47986, i.e.
all rename's fail until UDF switches over to the new rename framework solving
the locking mechanism.
2013-07-08 06:44:51 +00:00
reinoud
61c2992d1e Use the new extension to newfs_udf to generate a decent image for rump to work
on instead of an FFS(!) version.
2013-07-02 15:00:55 +00:00
martin
5e7b1b08fc Initialize mount args version info.
Add comment about a bogusly used "newfs" where "newfs_udf" is meant.
2013-06-30 15:42:43 +00:00
martin
05df297d98 Fix copy & pasto, notice by Nicolas Joly, one step closer to solving
PR kern/47974.
2013-06-30 15:05:49 +00:00
reinoud
cb0bc59d6c Add the rumpfs_udf to the LDADD variable 2013-06-28 13:04:06 +00:00
reinoud
591c440aa2 Add UDF as one of the filesytems to test. Might help understand why rump is
misbehaving on it.
2013-06-26 19:29:24 +00:00