summaryrefslogtreecommitdiffstats
path: root/tests/c-api/test-add-drive-opts.c
Commit message (Collapse)AuthorAgeFilesLines
* Allow /dev/null to be added multiple times.Richard W.M. Jones2012-01-101-29/+3
| | | | | | | | Change the test for duplicate drives so that you're allowed to add /dev/null multiple times. This corresponds to traditional usage. This amends commit be47b66c3033105a2b880dbc10bfc2b163b7eafe.
* launch: don't add a drive twiceWanlong Gao2012-01-091-3/+29
| | | | | | | | | | | | | | 1. Change the g->path to restore a absolute path instead of the mixed. 2. Check that if the adding drive is duplicated with the added drive. Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com> RWMJ: - Make sure abs_path is NULL before it is assigned, so freeing it will work along the error path. - Fix the test which added /dev/null multiple times.
* tests: Rename capitests -> tests/c-api.Richard W.M. Jones2011-12-221-0/+58