Home | History | Annotate | only in /src/tests/lib/librumphijack
History log of /src/tests/lib/librumphijack
RevisionDateAuthorComments
 1.2 02-Dec-2012  pgoyette 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.
 1.1 06-Feb-2011  pooka branches: 1.1.2; 1.1.6; 1.1.12;
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.
 1.1.12.1 25-Feb-2013  tls resync with head
 1.1.6.1 16-Jan-2013  yamt sync with (a bit old) head
 1.1.2.2 08-Feb-2011  bouyer Sync with HEAD
 1.1.2.1 06-Feb-2011  bouyer file Atffile was added on branch bouyer-quota2 on 2011-02-08 19:01:36 +0000
 1.8 02-Dec-2012  pgoyette 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.
 1.7 14-Mar-2011  pooka branches: 1.7.4; 1.7.10;
test RUMPHIJACK fdoff=8
 1.6 03-Mar-2011  pooka add tests for hijacked /bin/sh (mostly redirection now)
 1.5 23-Feb-2011  pooka simple vfs tests (mount ffs, cp/pax files there, un/remount,
check with diff)
 1.4 19-Feb-2011  pooka a basic getcwd() test
 1.3 14-Feb-2011  pooka 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)
 1.2 11-Feb-2011  pooka add test for fix in rev 1.36 of librumphijack/hijack.c
 1.1 06-Feb-2011  pooka branches: 1.1.2;
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.
 1.1.2.4 05-Mar-2011  bouyer Sync with HEAD
 1.1.2.3 17-Feb-2011  bouyer Sync with HEAD
 1.1.2.2 08-Feb-2011  bouyer Sync with HEAD
 1.1.2.1 06-Feb-2011  bouyer file Makefile was added on branch bouyer-quota2 on 2011-02-08 19:01:36 +0000
 1.7.10.1 25-Feb-2013  tls resync with head
 1.7.4.1 16-Jan-2013  yamt sync with (a bit old) head
 1.10 16-Sep-2021  andvar fix typos in word "successful".
 1.9 04-Oct-2019  mrg msg:
avoid passing the same pointer in multiple arguments for restrict
marked arguments:
- sigaction() wants separate in/out
- use memmove() not memcpy() for overlapping regions (this may fix
a real bug in nvi -- but it seems unlikely)
- select() wants separate read/write/except
- sigprocmask() wants separate set/oset
 1.8 20-Apr-2012  jruoho branches: 1.8.32;
Close all file descriptors before trying to reason about the number of open
descriptors. Should fix the test failures reported on current users.
 1.7 17-Apr-2012  jruoho Return from main() and use EXIT_FAILURE/EXIT_SUCCESS from stdlib(3).
 1.6 14-Mar-2011  pooka branches: 1.6.4;
test RUMPHIJACK fdoff=8
 1.5 08-Mar-2011  pooka print out the unexpected rv too
 1.4 01-Mar-2011  pooka 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).
 1.3 20-Feb-2011  pooka check that poll on an invalid fd doesn't hang in the dual poll case
 1.2 12-Feb-2011  pooka branches: 1.2.2;
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.
 1.1 11-Feb-2011  pooka add test for fix in rev 1.36 of librumphijack/hijack.c
 1.2.2.3 05-Mar-2011  bouyer Sync with HEAD
 1.2.2.2 17-Feb-2011  bouyer Sync with HEAD
 1.2.2.1 12-Feb-2011  bouyer file h_client.c was added on branch bouyer-quota2 on 2011-02-17 12:00:54 +0000
 1.6.4.1 23-May-2012  yamt sync with head.
 1.8.32.1 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.3 17-Apr-2012  jruoho Return from main() and use EXIT_FAILURE/EXIT_SUCCESS from stdlib(3).
 1.2 19-Feb-2011  pooka branches: 1.2.2; 1.2.6;
more test cases:
* // prefix
* fchdir
* cd-via-symlink
 1.1 19-Feb-2011  pooka a basic getcwd() test
 1.2.6.1 23-May-2012  yamt sync with head.
 1.2.2.2 05-Mar-2011  bouyer Sync with HEAD
 1.2.2.1 19-Feb-2011  bouyer file h_cwd.c was added on branch bouyer-quota2 on 2011-03-05 15:10:56 +0000
 1.2 17-Apr-2012  jruoho Return from main() and use EXIT_FAILURE/EXIT_SUCCESS from stdlib(3).
 1.1 06-Feb-2011  pooka branches: 1.1.2; 1.1.6;
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.
 1.1.6.1 23-May-2012  yamt sync with head.
 1.1.2.2 08-Feb-2011  bouyer Sync with HEAD
 1.1.2.1 06-Feb-2011  bouyer file h_netget.c was added on branch bouyer-quota2 on 2011-02-08 19:01:36 +0000
 1.1 06-Feb-2011  pooka branches: 1.1.2;
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.
 1.1.2.2 08-Feb-2011  bouyer Sync with HEAD
 1.1.2.1 06-Feb-2011  bouyer file index.html was added on branch bouyer-quota2 on 2011-02-08 19:01:37 +0000
 1.1 06-Feb-2011  pooka branches: 1.1.2;
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.
 1.1.2.2 08-Feb-2011  bouyer Sync with HEAD
 1.1.2.1 06-Feb-2011  bouyer file netstat.expout was added on branch bouyer-quota2 on 2011-02-08 19:01:37 +0000
 1.1 14-Feb-2011  pooka branches: 1.1.2;
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)
 1.1.2.2 17-Feb-2011  bouyer Sync with HEAD
 1.1.2.1 14-Feb-2011  bouyer file ssh_config.in was added on branch bouyer-quota2 on 2011-02-17 12:00:54 +0000
 1.1 14-Feb-2011  pooka branches: 1.1.2;
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)
 1.1.2.2 17-Feb-2011  bouyer Sync with HEAD
 1.1.2.1 14-Feb-2011  bouyer file ssh_host_key was added on branch bouyer-quota2 on 2011-02-17 12:00:54 +0000
 1.1 14-Feb-2011  pooka branches: 1.1.2;
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)
 1.1.2.2 17-Feb-2011  bouyer Sync with HEAD
 1.1.2.1 14-Feb-2011  bouyer file ssh_host_key.pub was added on branch bouyer-quota2 on 2011-02-17 12:00:54 +0000
 1.2 21-Sep-2021  christos UsePrivilegeSeparation is no more
 1.1 14-Feb-2011  pooka branches: 1.1.2;
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)
 1.1.2.2 17-Feb-2011  bouyer Sync with HEAD
 1.1.2.1 14-Feb-2011  bouyer file sshd_config.in was added on branch bouyer-quota2 on 2011-02-17 12:00:54 +0000
 1.4 27-Aug-2014  gson The 4 second timeout of the invafd test case is not always enough when
running under qemu; increase it to 10 seconds.
 1.3 20-Feb-2011  pooka check that poll on an invalid fd doesn't hang in the dual poll case
 1.2 12-Feb-2011  pooka branches: 1.2.2;
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.
 1.1 11-Feb-2011  pooka add test for fix in rev 1.36 of librumphijack/hijack.c
 1.2.2.3 05-Mar-2011  bouyer Sync with HEAD
 1.2.2.2 17-Feb-2011  bouyer Sync with HEAD
 1.2.2.1 12-Feb-2011  bouyer file t_asyncio.sh was added on branch bouyer-quota2 on 2011-02-17 12:00:54 +0000
 1.1 14-Mar-2011  pooka test RUMPHIJACK fdoff=8
 1.2 19-Feb-2011  pooka branches: 1.2.2;
more test cases:
* // prefix
* fchdir
* cd-via-symlink
 1.1 19-Feb-2011  pooka a basic getcwd() test
 1.2.2.2 05-Mar-2011  bouyer Sync with HEAD
 1.2.2.1 19-Feb-2011  bouyer file t_cwd.sh was added on branch bouyer-quota2 on 2011-03-05 15:10:56 +0000
 1.1 03-Mar-2011  pooka branches: 1.1.2;
add tests for hijacked /bin/sh (mostly redirection now)
 1.1.2.2 05-Mar-2011  bouyer Sync with HEAD
 1.1.2.1 03-Mar-2011  bouyer file t_sh.sh was added on branch bouyer-quota2 on 2011-03-05 15:10:56 +0000
 1.26 25-Apr-2025  riastradh librumphijack/t_tcpip: Fix clutter at /out.

PR misc/59354: librumphijack/t_tcpip leaves clutter at /out
 1.25 16-Apr-2025  riastradh t_tcpip: Mark ssh test xfail.

PR bin/59278: tests/lib/librumphijack/t_tcpip:ssh failing since
openssh 10.0 update
 1.24 28-Apr-2024  rillig branches: 1.24.2;
tests: replace deprecated '-s eq:...' with '-s exit:...'
 1.23 05-Aug-2023  riastradh tests/lib/librumphijack: Avoid trying to run rpcbind as non-root.

Can probably make this work through rumphijack, but there's no sense
in even trying the test if we can't, so let's reduce the unprivileged
false alarms.
 1.22 28-May-2023  hannken Add RUMPHIJACK option "blanket=/DEV" so mount_ffs may canonicalise
and mount the device path. Cannot use "/rump/DEV" here as the device
path is embedded in "struct ufs_args" where it doesnt get hijacked.
 1.21 11-Nov-2021  gson The nfs_autoload test case has now been broken for more than four years.
Mark it as an expected failure with a reference to PR kern/54184.
 1.20 10-Sep-2021  christos fix the ssh rump test
 1.19 13-May-2019  bad Get rid of all the -lrumpdev and -lrumpvfs that are no longer needed
after moving rump's mainbus from rumpdev to rumpkern.

Produces the same atf-run results as before.
 1.18 13-Aug-2016  christos branches: 1.18.14;
order netinet6 properly.
 1.17 11-Aug-2016  kre One more -lrumpdev
 1.16 29-Dec-2015  pgoyette Since we're expecting to autoload modules here, make sure that the
kernel (or rump-server) has autoload enabled.

This should finish fixing PR bin/49153

XXX The test still does not run successfully, due to another bug that
XXX was recently introduced. This second bug is being worked on.
 1.15 26-Aug-2015  martin Mark the ssh test as expected failure pointing to PR lib/50174
 1.14 09-Oct-2014  apb 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.
 1.13 03-Jan-2014  pooka netstat expected output includes ipv6 sucket, so add netinet6
 1.12 16-Aug-2012  pgoyette branches: 1.12.2;
Fix more fallout from the changes to nfsd's command-line options
 1.11 14-May-2011  jmmv branches: 1.11.4;
Instead of doing 'atf_check ... sh -c foo', just do 'atf_check ... -x foo'.
 1.10 29-Mar-2011  jmmv Halt the httpd server _before_ rump. Per pooka@'s suggestion.
 1.9 29-Mar-2011  jmmv 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@.
 1.8 22-Mar-2011  pooka check that nfsd works with kernel module autoloading
 1.7 10-Mar-2011  pooka * remove juiblex from nfsd startup (i was using -DDEBUG nfsd yesterday)
* some minor nits
 1.6 09-Mar-2011  pooka nfsd + mount_nfs test with stock system binaries
 1.5 16-Feb-2011  pooka RUMPHIJACK_RETRY -> RUMPHIJACK_RETRYCONNECT
 1.4 14-Feb-2011  pooka explicitly set BLOCKSIZE so that we don't get fooled again
 1.3 14-Feb-2011  pooka -debugging crud
 1.2 14-Feb-2011  pooka 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)
 1.1 06-Feb-2011  pooka branches: 1.1.2;
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.
 1.1.2.3 17-Feb-2011  bouyer Sync with HEAD
 1.1.2.2 08-Feb-2011  bouyer Sync with HEAD
 1.1.2.1 06-Feb-2011  bouyer file t_tcpip.sh was added on branch bouyer-quota2 on 2011-02-08 19:01:37 +0000
 1.11.4.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.11.4.1 30-Oct-2012  yamt sync with head
 1.12.2.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.18.14.1 10-Jun-2019  christos Sync with HEAD
 1.24.2.1 02-Aug-2025  perseant Sync with HEAD
 1.7 28-May-2023  hannken Add RUMPHIJACK option "blanket=/DEV" so mount_ffs may canonicalise
and mount the device path. Cannot use "/rump/DEV" here as the device
path is embedded in "struct ufs_args" where it doesnt get hijacked.
 1.6 04-Aug-2012  riastradh Implement link(2) in rumphijack. Add a couple trivial test cases.
 1.5 01-Dec-2011  christos add missing dev_disk library for getdiskinfo.
 1.4 08-Mar-2011  pooka branches: 1.4.4;
some blanket tests
 1.3 08-Mar-2011  pooka test case for runon prefixes
 1.2 23-Feb-2011  pooka branches: 1.2.2;
some tests for mv(1)
 1.1 23-Feb-2011  pooka simple vfs tests (mount ffs, cp/pax files there, un/remount,
check with diff)
 1.2.2.2 05-Mar-2011  bouyer Sync with HEAD
 1.2.2.1 23-Feb-2011  bouyer file t_vfs.sh was added on branch bouyer-quota2 on 2011-03-05 15:10:56 +0000
 1.4.4.2 30-Oct-2012  yamt sync with head
 1.4.4.1 17-Apr-2012  yamt sync with head

RSS XML Feed