98 Commits

Author SHA1 Message Date
Mitchell Hashimoto
1a6ae81aa9 Require what to be notified for with block and Subprocess.execute
There was an issue before where the stdin buffer would always have space
so it would always yield that block and Ruby would spin at 100%. Now we
require all callers to say what they want to listen for. This drops
CPU down to almost nothing.

See GH-832
2012-06-01 17:02:12 +02:00
Bob Van Zant
ae62c9bd68 Convert example host only IPs to RFC1918 2012-02-08 14:50:33 -08:00
Mitchell Hashimoto
be97cec8b5 Allow shell expansions in shared folder guest paths again [GH-656] 2012-01-19 20:14:05 -08:00
Mitchell Hashimoto
52a464a62c Push a failing acceptance test as a reminder of a missing feature 2012-01-13 00:07:23 -08:00
Mitchell Hashimoto
1380bc6ae7 Basic package acceptance tests 2012-01-12 23:52:25 -08:00
Mitchell Hashimoto
7ddee76c00 Passing acceptance tests again 2012-01-11 23:21:07 -08:00
Mitchell Hashimoto
60b6d9ca9f Clarify comment on test 2012-01-11 22:16:00 -08:00
Mitchell Hashimoto
638881614a Test that multiple provisioners can be used 2012-01-10 22:04:31 -08:00
Mitchell Hashimoto
bb2a473549 Added a --provision-with flag to specify provisioners to use. [GH-367] 2012-01-10 22:03:22 -08:00
Mitchell Hashimoto
566a751d6f Test that --no-provision works. 2012-01-10 21:29:26 -08:00
Mitchell Hashimoto
f89479f3aa Basic host only network test 2012-01-10 21:25:36 -08:00
Mitchell Hashimoto
836468a51e Test the :create flag on shared folders 2012-01-10 21:20:24 -08:00
Mitchell Hashimoto
29ced979a2 Test for DNA json in Chef Solo 2012-01-10 21:14:16 -08:00
Mitchell Hashimoto
18cdcb4330 Acceptance tests for chef solo, fixed a bug it found. 2012-01-10 21:08:43 -08:00
Mitchell Hashimoto
f264932430 Move network tests out into a module so other tests can use it 2012-01-10 20:47:26 -08:00
Mitchell Hashimoto
0c0d456db2 Add --force flag to box add [GH-631] 2012-01-10 20:37:33 -08:00
Mitchell Hashimoto
7eafb5fc1f Acceptance test that we can't add boxes with the same name 2012-01-10 18:45:38 -08:00
Mitchell Hashimoto
d430d62941 Test overriding ports works properly 2012-01-08 23:29:40 -08:00
Mitchell Hashimoto
29eb419c86 Port forwarding tests pass again 2012-01-08 23:17:29 -08:00
Mitchell Hashimoto
f65a6c3c6f vagrant ssh -c stderr now goes to stderr on the host as well 2011-12-26 10:03:12 -08:00
Mitchell Hashimoto
e07280593d vagrant ssh -c will now exit with the same exit status of the command [GH-598] 2011-12-26 09:58:10 -08:00
Mitchell Hashimoto
4e547becab Tests passing for GH-602 2011-12-25 09:57:20 -08:00
Mitchell Hashimoto
fc9bda08cd Failing test for port collision on resume [GH-602] 2011-12-25 09:29:22 -08:00
Mitchell Hashimoto
919f7adaa3 Port collision with SSH test. 2011-12-24 22:25:02 -08:00
Mitchell Hashimoto
1f0720dfc2 Clean up the port forwarding test a bit 2011-12-24 21:40:08 -08:00
Mitchell Hashimoto
f7275f5113 Test port forwarding basics 2011-12-24 17:59:10 -08:00
Mitchell Hashimoto
963bdff9fd Use Vagrant::Util::Subprocess for acceptance tests 2011-12-22 21:46:43 -08:00
Mitchell Hashimoto
dfeafa3776 Fix halt issues and acceptance test associated with it 2011-12-22 13:38:30 -08:00
Mitchell Hashimoto
703f455d5a vagrant version is gone, so remove the acceptance test for it 2011-12-18 13:51:58 -08:00
Mitchell Hashimoto
a8f5ed1863 Require vagrant environments for some commands. 2011-12-18 13:26:15 -08:00
Mitchell Hashimoto
2d0769ee4a Stub a test out for chef solo 2011-12-14 19:06:44 -08:00
Mitchell Hashimoto
9e4475cb77 Test running shell scripts inline 2011-12-14 19:02:10 -08:00
Mitchell Hashimoto
6dbade0fc6 Get shell provisioning working again, acceptance test to prove it 2011-12-13 23:45:56 -08:00
Mitchell Hashimoto
d6b325e887 Clean up TODOs in acceptance tests 2011-12-13 23:19:50 -08:00
Mitchell Hashimoto
42a5e02db4 Clean up test load paths 2011-12-11 15:53:11 -08:00
Mitchell Hashimoto
e15b974c15 Fix more tests to expect error messages on stderr 2011-12-10 13:50:46 -08:00
Mitchell Hashimoto
c41e758a0a box acceptance tests passing again 2011-12-10 13:35:03 -08:00
Mitchell Hashimoto
99982fb26e VM-specific configuration now works. 2011-12-03 19:05:50 -08:00
Mitchell Hashimoto
27c4d61e67 Upgrade to childprocess 0.2.3 and remove our hacky with_env_changes 2011-11-27 16:11:07 -07:00
Mitchell Hashimoto
0279cc1edf Do not buffer output for tests 2011-11-27 11:16:24 -07:00
Mitchell Hashimoto
7e276cf4d8 Basic resume tests 2011-11-24 16:28:28 -07:00
Mitchell Hashimoto
d03744c5e1 Test that vagrant up also works for resuming 2011-11-24 16:21:21 -07:00
Mitchell Hashimoto
f9653bf8d2 Some suspend tests 2011-11-24 16:15:45 -07:00
Mitchell Hashimoto
2dc9bad97d Fix missing variable in tests 2011-11-24 14:15:36 -07:00
Mitchell Hashimoto
87767e24d0 Fix test harness where blocking could occur on IO read.
We had issues with the CI where some tests would sometimes hang
on cleanup when it would call VBoxManage, even with a timeout.
My only assumption is that this is happening as it waits on `readline`,
so we do a `read_nonblock` which will help immensely.
2011-11-24 14:13:22 -07:00
Mitchell Hashimoto
fba9f7c473 Test that a VM can be brought back up after halting 2011-11-22 21:47:10 -08:00
Mitchell Hashimoto
1ed1650fb6 vagrant halt acceptance tests 2011-11-22 19:34:25 -08:00
Mitchell Hashimoto
5e4dffb7e1 Test: Don't worry if VBoxManage failed. 2011-11-22 19:28:21 -08:00
Mitchell Hashimoto
8651127ead Add tag for the bug that a test addresses 2011-11-22 18:46:43 -08:00
Mitchell Hashimoto
5d684b9001 Reload the configuration for all VMs after downloading a box. Fixes GH-564 2011-11-21 22:39:12 -08:00