summaryrefslogtreecommitdiff
path: root/tests/dev
AgeCommit message (Collapse)Author
2013-04-14The sh api calls it atf_expect_fail, while the c api calls itmartin
atf_tc_expect_fail - this is shell, so fix the names accordingly. XXX Why do they differ?
2013-03-17These tests are flaky so mark them as expected failures... when they fail.jmmv
See PR kern/47661.
2013-03-15The CD emulator has been fixed, no longer expect the test to die.martin
2013-03-14Expect a crash in the noisyeject test. Mention PR kern/47646.jmmv
2013-02-19Check for RUMP programs before using them.joerg
2012-12-02Actually remove the no-longer-needed Atffilespgoyette
2012-12-02Build helper programs as PROGS and not as TESTS_{C,SH}pgoyette
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-08-08Exclude tests that use rumpchristos
2012-07-19Add new test cases for entropy-providing sensorspgoyette
2012-05-06Comment out the expected failure, as it does not trigger anymore.martin
2011-10-15Fix cut-and-paste-o that casused the raid1_normal test case to have nogson
cleanup function defined, resulting in a rump_server process hanging around after the tests completed.
2011-08-09Add missing RUMP_SERVER export, so the "normal" test does not fail withmartin
a stupid error.
2011-07-29Note that PR kern/44251 is fixed.oster
Add tests for normal configuration of RAID 1 and RAID 5 sets.
2011-06-26need signal.h for kill()christos
this is why it was wrong for rump_syscalls.h to include this.
2011-05-19Expand tests for unaligned writes to cgd. No more xfail.riastradh
PR kern/44515 PR kern/44964
2011-05-14Instead of doing 'atf_check ... sh -c foo', just do 'atf_check ... -x foo'.jmmv
2011-03-27validate that getrawpartition() didn't fail.mlelstv
2011-03-22Force cleanup parts to exit with a success status. Failures in cleanupjmmv
should not be allowed by atf-run (although they currently are ignored).
2011-03-01PR#44239 is now fixed, remove the xfail from the test.riz
2011-02-10explicitly zero-fill the initial md backendpooka
2011-02-04test case for PR kern/44515pooka
2011-02-04convert tests from oldstyle dd rif/rof to newstyle dd | rump.ddpooka
2011-01-24Represent test data as bytes to make it "endian-independent".pooka
from martin
2011-01-03use rawpartpooka
2011-01-03make this work when rawpart != dpooka
2010-12-31Now that 'rump_server -l stuff' works, use a less heavyweight rump_serverpgoyette
for this test. Thanks, pooka!
2010-12-30Substitute a surgical rump_server configuration for rump_allserverpooka
now that it's possible. With warm fs cache, the startup time of the former is 0.01s and the latter 0.1s. With cold caches it's 0.2s vs 2s.
2010-12-30Now that we update the callout timer as soon as it is updated, we no longerpgoyette
need to have an extended wait for the first powerd event to occur. Revert that portion of previous commit.
2010-12-29Various cleanup (most from pooka@)pgoyette
- Does not require root access on the host, only in the rump environment (which it gets by default) - Manual clean-up of powerd process and rump-server socket is not necessary - happens automatically - Don't use a global, absolute path for the rump-server socket For alarm_sensor, make sure events are still delivered after 'envstat -S' (the cur_value was deliberately left at an alarm level and should not be affected by the reset). No longer need to skip the alarm_sensor and limit_sensor tests, since pooka fixed passing of proplist to built-in modules. Increase wait time for first powerd event report. (This should not be needed, so there's probably a bug somewhere, but the increased timeout lets us validate the rest of the sensor functionality.)
2010-12-20Add a rump-based set of tests for sysmon_envsys(8) + powerd(8) + swsensor(4)pgoyette
2010-12-18test case for PR kern/44251pooka
2010-12-18Check that raid1 and raid5 can serve data after a component haspooka
been nuked.
2010-12-17fix editing artifactpooka
2010-12-15fix post-move testsdir. duhpooka
2010-12-15"A few seconds later" I realized the kernel directory is dev/raidframe,pooka
not dev/raid, so reflect this in the test dir. Affects location for test of PR kern/44239.
2010-12-15Add first raidframe tests. This is the test for the kernel faultpooka
described in PR kern/44239
2010-12-15Use proper cleanup.pooka
XXX: the atf sh "compiler" should check for errors.
2010-12-14Retire the old C helper in h_img2cgd since we can now write everythingpooka
with a shellscript in terms of rump.cgdconfig and dd.
2010-12-12use rump.haltpooka
2010-11-30cleanup server after usepooka
(XXX: need better way to reboot it)
2010-11-30don't include librump twicepooka
2010-11-30comment tyopspooka
2010-11-30Get rid of the "sleep 1" by using rump_daemonize_begin/end().pooka
Notably, md is a little tricky for this, since the ioctl that configures the service also blocks in the kernel. Therefore, use an additional pthread to probe when the service is fully configured and the server can detach. Also, rawpart love.
2010-11-23Add simple test for md(4) which just stuffs junk into /dev/rmd0dpooka
and checks the same data can be retrieved.
2010-11-11fixpooka
2010-11-11Add rudimentary cgd tests. The tests use cgd to transform apooka
plaintext into into an encrypted image and back into plaintext by doing rump I/O on /dev/cgd. There is one test to check that giving the same password for both encryption and decryption produces the same plaintext and another to check that giving a different passwords does not produce the same plaintext. This could be fairly easily extended to test all feature of cgd (hint hint). For example, now cgd.conf is included in cvs, but the only reason for that is that without further hacking cgdconfig uses /dev/random quality random to generate the salt for a pkcsetcetc_kdf2 cgconfig -g, and making an automated test block on the entropy pool is just not good form. Details are everything.
2010-11-07Adjusts tests after import of atf-0.12:jmmv
- The use.fs property is gone. - Mark the tests/fs/t_create:attrs test as broken when using the default unprivileged-user:_atf setting. This probably deserves a fix somehow but I'm not sure at this point.
2010-11-03add Makefile.inc everywhere so that we can set WARNS=4 by default. Amazingchristos
how many bugs this found :-)
2010-10-31There's apparently a circular dependency between -lrump and -lrumpuser.he
This poses problems when linking statically, as for sun2. Add -lrump also after -lrumpuser, so that this links statically as well.
2010-10-24Due to timing discrepancies desribed in PR kern/43997, tickle thepgoyette
watchdog just a little bit sooner. This maintains the spirit of the test while avoiding the actual bug. This can be reverted once (if) the PR is fixed.