diff options
| author | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2007-03-31 06:35:23 +0000 |
|---|---|---|
| committer | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2007-03-31 06:35:23 +0000 |
| commit | 8ab272265d30ea01322943c688e815ad772a571a (patch) | |
| tree | ee58690ed366946f7d11a4a2e3031817a9d3cd10 /test/lib | |
| parent | f9d89b50139e7688e22525b26cd479f164927788 (diff) | |
| download | puppet-8ab272265d30ea01322943c688e815ad772a571a.tar.gz puppet-8ab272265d30ea01322943c688e815ad772a571a.tar.xz puppet-8ab272265d30ea01322943c688e815ad772a571a.zip | |
Hah! Finally fixing the problem where mount tests would fail when run as part of the whole suite. The real problem was that I was changing the filetype of the provider without setting it to change back after the test, but the key change that made it straightforward to fix this problem was that my test loader was not exiting with a non-zero code when there was a failure, which mean that the ./test script never thought anything failed. I fixed the former, then fixed the test script to work fine with -n method_name stuff, and quickly found the problem. *whew*
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2377 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'test/lib')
| -rw-r--r-- | test/lib/rake/puppet_test_loader.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/lib/rake/puppet_test_loader.rb b/test/lib/rake/puppet_test_loader.rb index a85cc8e6b..23033fa5d 100644 --- a/test/lib/rake/puppet_test_loader.rb +++ b/test/lib/rake/puppet_test_loader.rb @@ -10,6 +10,8 @@ args.each { |f| require f unless f =~ /^-/ } runner = Test::Unit::AutoRunner.new(false) runner.process_args -runner.run +unless runner.run + exit 14 +end # $Id$ |
