Commit Graph

33 Commits

Author SHA1 Message Date
apb
bc007038f7 Avoid literal <CR> in sed regular expression.
Instead, use printf(1) to save the regexp in a shell variable,
taking advantage of the fact that printf understands "\r".

This should fix a complaint from subversion, reported in PR 49249.
2014-10-09 06:52:37 +00:00
gson
3583bc35d3 The 4 second timeout of the invafd test case is not always enough when
running under qemu; increase it to 10 seconds.
2014-08-27 13:32:16 +00:00
pooka
c7edf59387 netstat expected output includes ipv6 sucket, so add netinet6 2014-01-03 13:18:00 +00:00
pgoyette
826c760e5d Helper programs are programs, not tests, so build them appropriately.
Thie removes the need for custom Atffiles whose only purpose was to exclude
the helpers that had been built as tests.
2012-12-02 17:36:10 +00:00
pgoyette
1cf0fdecbd Fix more fallout from the changes to nfsd's command-line options 2012-08-16 12:57:24 +00:00
riastradh
16b71d29d9 Implement link(2) in rumphijack. Add a couple trivial test cases. 2012-08-04 03:56:47 +00:00
jruoho
c69613ea1e Close all file descriptors before trying to reason about the number of open
descriptors. Should fix the test failures reported on current users.
2012-04-20 05:15:11 +00:00
jruoho
f95573c233 Return from main() and use EXIT_FAILURE/EXIT_SUCCESS from stdlib(3). 2012-04-17 09:23:21 +00:00
christos
54a5bd4b8f add missing dev_disk library for getdiskinfo. 2011-12-01 21:54:10 +00:00
jmmv
9b4c1721f3 Instead of doing 'atf_check ... sh -c foo', just do 'atf_check ... -x foo'. 2011-05-14 17:42:28 +00:00
jmmv
e58081aa53 Halt the httpd server _before_ rump. Per pooka@'s suggestion. 2011-03-29 16:03:32 +00:00
jmmv
5bd1bce108 Make httpd create a pid file and use that to kill the server in a controlled
manner (instead of indirectly through rump.halt).  Suggested by pooka@.
2011-03-29 15:43:45 +00:00
pooka
4975925b02 check that nfsd works with kernel module autoloading 2011-03-22 17:07:11 +00:00
pooka
3bc8d7931c test RUMPHIJACK fdoff=8 2011-03-14 15:56:40 +00:00
pooka
baaf9cb9d3 * remove juiblex from nfsd startup (i was using -DDEBUG nfsd yesterday)
* some minor nits
2011-03-10 13:42:33 +00:00
pooka
1bafe88e56 nfsd + mount_nfs test with stock system binaries 2011-03-09 21:25:59 +00:00
pooka
7e4239caf4 some blanket tests 2011-03-08 22:21:52 +00:00
pooka
5ec619238a test case for runon prefixes 2011-03-08 21:36:25 +00:00
pooka
fe92fa8193 print out the unexpected rv too 2011-03-08 14:53:03 +00:00
pooka
771df007e3 add tests for hijacked /bin/sh (mostly redirection now) 2011-03-03 11:54:11 +00:00
pooka
e71885fb04 Create a pipe on which to select. selecting on STDIN_FILENO seems
to be succesful *sometimes* on some archs (i'm suspecting this is
in some way related to lib/libc/ttyio/t_ttyio failing).
2011-03-01 08:54:18 +00:00
pooka
2486194718 some tests for mv(1) 2011-02-23 16:38:08 +00:00
pooka
9f3340d97a simple vfs tests (mount ffs, cp/pax files there, un/remount,
check with diff)
2011-02-23 13:01:57 +00:00
pooka
f8da5a9891 check that poll on an invalid fd doesn't hang in the dual poll case 2011-02-20 23:45:46 +00:00
pooka
91a9bf9486 more test cases:
* // prefix
  * fchdir
  * cd-via-symlink
2011-02-19 19:57:28 +00:00
pooka
44ff4bdcb3 a basic getcwd() test 2011-02-19 13:19:52 +00:00
pooka
5c6cde8ab3 RUMPHIJACK_RETRY -> RUMPHIJACK_RETRYCONNECT 2011-02-16 19:31:31 +00:00
pooka
3e3af76e8c explicitly set BLOCKSIZE so that we don't get fooled again 2011-02-14 19:56:30 +00:00
pooka
c754a0ea3b -debugging crud 2011-02-14 19:54:29 +00:00
pooka
e7ac403943 Test that hijacked ssh/sshd work.
Copypastes jmmv's sshd magic from fs/psshfs.
(dunno if it's worth sharing the code, or even what the
best practice for doing so would be)
2011-02-14 15:14:00 +00:00
pooka
e43200f113 Add test case from PR lib/44552 by Alexander Nasonov. I also lobbed
in a test for select(0, NULL, NULL, NULL, &tv) in there.
2011-02-12 10:28:08 +00:00
pooka
f9f796a4cf add test for fix in rev 1.36 of librumphijack/hijack.c 2011-02-11 15:38:14 +00:00
pooka
fbc821a08c Add a simple test for the purpose of making sure rumphijack works
on -current in addition to 5.x.  The test serves a simple index.html
on a hijacked bozohttpd and checks the file can be retrieved.
2011-02-06 18:44:29 +00:00