Commit Graph

85 Commits

Author SHA1 Message Date
jakllsch
2d9fbba46c Use rump_schedule() before calling things in the rump context.
Hopefully fixes these tests on all ports.
2016-05-05 17:40:26 +00:00
jakllsch
5c7aaf765b t_hid doesn't use rump correctly, and thus consistently fails; mark as such 2016-05-05 16:55:56 +00:00
jakllsch
ffe5c1f16e Call rump_init() before using rump functionality.
This change should make these test cases consistently fail on all ports.

Related to PR kern/51096.
2016-05-02 17:24:06 +00:00
nat
449e51467a Fix soft volume audio distortion. OK jmcneil@.
Update atf pad expected output.
2016-02-26 13:08:28 +00:00
christos
ffeb8dbf4e Define _KERNTYPES for things that need it. 2016-01-23 21:22:45 +00:00
christos
55808dd15a XXX: use unused variables. 2016-01-23 21:18:27 +00:00
jakllsch
c38078a218 locate_item() doesn't need to have a flags argument, as the flags
are also in the hid item data structure.
2016-01-09 14:31:19 +00:00
jakllsch
03e19f6583 fix test program for hid item checks 2016-01-08 17:34:57 +00:00
jakllsch
ecbab7a38a rework build of t_hid to be more reliable, while working around ATF cruddyness 2016-01-08 17:27:48 +00:00
jakllsch
f9e98a931a Don't crash when the device's HID Report Descriptor Pops from an empty stack. 2016-01-07 16:10:49 +00:00
jakllsch
4887406fba Add tests for HID Parser Pop-on-empty-stack bug. 2016-01-07 15:58:23 +00:00
christos
2acf28e2e5 Unbreak the sun2 build: Don't use program-specific LDADD options because
those come after the general LDADD options and break static linking.
2016-01-06 15:34:54 +00:00
jakllsch
2ba22c9356 Add some tests for the kernel HID parser. 2016-01-05 17:22:38 +00:00
matt
b9e582e94c Don't build tests that depend on RUMP if BSD_MK_COMPAT_FILE is defined. 2015-06-22 00:05:23 +00:00
pgoyette
7f8653d8a0 Include better diagnostic info when a required key value cannot be retrieved from envstat -x 2015-04-23 23:23:28 +00:00
pgoyette
8f2064710d When exiting, provide a reason. 2015-04-23 04:49:37 +00:00
martin
610137e5d4 Double the timeout (to 120s) for slower machines 2015-02-27 09:16:07 +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
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
he
68eb80a8fe When linking statically (as for sun2), need to list -lrump also
after -lrumpuser, because rump_pub_lwproc_switch is used in the
latter and defined in the former.
2014-06-09 18:22:05 +00:00
christos
7801950caf Include bsd.own.mk (hi pooka) 2014-04-26 18:53:21 +00:00
pooka
0159a35e80 obsolete the installed <rump/scsitest.h> header and make it private
to tests/dev/scsipi
2014-04-25 00:24:39 +00:00
pooka
37510bf29a CPPFLAGS for rump_private.h 2014-04-25 00:17:48 +00:00
pooka
8fa17e4756 scsitest is a SCSI target emulator used by one test, and has little
reason to get installed.  Make the component private to the test using
it and obsolete the installed one.

IOW, rename sys/rump/dev/lib/libscsitest -> tests/dev/scsipi/libscsitest
2014-04-24 21:46:44 +00:00
martin
1f299de05d The sh api calls it atf_expect_fail, while the c api calls it
atf_tc_expect_fail - this is shell, so fix the names accordingly.
XXX Why do they differ?
2013-04-14 16:07:46 +00:00
jmmv
371c38e8cf These tests are flaky so mark them as expected failures... when they fail.
See PR kern/47661.
2013-03-17 06:29:55 +00:00
martin
11175263ad The CD emulator has been fixed, no longer expect the test to die. 2013-03-15 16:18:49 +00:00
jmmv
fcde6153ab Expect a crash in the noisyeject test. Mention PR kern/47646. 2013-03-14 06:43:32 +00:00
joerg
94bcefa490 Check for RUMP programs before using them. 2013-02-19 21:08:24 +00:00
pgoyette
d3317b816e Actually remove the no-longer-needed Atffiles 2012-12-02 18:40:43 +00:00
pgoyette
f93daef0af Build helper programs as PROGS and not as TESTS_{C,SH}
This enables us to remove custom Atffiles whose only purpose was to avoid
using the helpers as tests.

XXX src/tests/dev/dm/ is not (yet) linked into the build!
2012-12-02 18:39:53 +00:00
christos
cb461c6808 Exclude tests that use rump 2012-08-08 13:57:05 +00:00
pgoyette
198966cae9 Add new test cases for entropy-providing sensors 2012-07-19 13:36:18 +00:00
martin
d0518d9cf8 Comment out the expected failure, as it does not trigger anymore. 2012-05-06 17:27:22 +00:00
gson
4b51693338 Fix cut-and-paste-o that casused the raid1_normal test case to have no
cleanup function defined, resulting in a rump_server process hanging
around after the tests completed.
2011-10-15 11:31:40 +00:00
martin
2e58500e62 Add missing RUMP_SERVER export, so the "normal" test does not fail with
a stupid error.
2011-08-09 13:48:55 +00:00
oster
bfb5c54728 Note that PR kern/44251 is fixed.
Add tests for normal configuration of RAID 1 and RAID 5 sets.
2011-07-29 19:57:38 +00:00
christos
7933a8d7d6 need signal.h for kill()
this is why it was wrong for rump_syscalls.h to include this.
2011-06-26 12:14:59 +00:00
riastradh
ee53e39c19 Expand tests for unaligned writes to cgd. No more xfail.
PR kern/44515
PR kern/44964
2011-05-19 20:37:50 +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
mlelstv
ec85dd4442 validate that getrawpartition() didn't fail. 2011-03-27 08:53:56 +00:00
jmmv
ecaa6aed45 Force cleanup parts to exit with a success status. Failures in cleanup
should not be allowed by atf-run (although they currently are ignored).
2011-03-22 16:16:30 +00:00
riz
736d6f3deb PR#44239 is now fixed, remove the xfail from the test. 2011-03-01 22:52:54 +00:00
pooka
58a824fcb1 explicitly zero-fill the initial md backend 2011-02-10 13:29:02 +00:00
pooka
5cae2aa40c test case for PR kern/44515 2011-02-04 19:58:10 +00:00
pooka
bcbc24966e convert tests from oldstyle dd rif/rof to newstyle dd | rump.dd 2011-02-04 19:44:00 +00:00
pooka
4fec18bfb3 Represent test data as bytes to make it "endian-independent".
from martin
2011-01-24 08:26:23 +00:00
pooka
a5f859dbc3 use rawpart 2011-01-03 09:39:46 +00:00
pooka
f0b543beba make this work when rawpart != d 2011-01-03 09:37:42 +00:00
pgoyette
ee1e1b3d69 Now that 'rump_server -l stuff' works, use a less heavyweight rump_server
for this test.  Thanks, pooka!
2010-12-31 00:35:42 +00:00