Permalink
Browse files

Updated README and CHANGELOG

  • Loading branch information...
1 parent ce30962 commit d95138cd49f67b5e9fcf837f5a2d2fe764377681 @jeffmccune jeffmccune committed Jul 22, 2010
Showing with 17 additions and 0 deletions.
  1. +3 −0 CHANGELOG
  2. +13 −0 README
  3. +1 −0 spec/settings_section_deprecation_spec.sh
View
@@ -6,3 +6,6 @@ acceptance tests.
* Cleaned up spec/util.sh to be more readable and contain standard
bourne shell syntax.
+* Added killwait() function to help tear down the puppet master.
+
+* Fixed hanging puppet master process in settings_section_deprecation_spec.sh
View
@@ -14,3 +14,16 @@ Getting Started:
1: Create a local_setup.sh script which sets RUBYLIB and PATH as you wish.
An example is provided which assumes puppet and facter exist in /opt/puppetlabs
2: run "make"
+
+Writing specifications:
+* specification scripts should be written in BASH
+* Expect the current working directory to be where the Makefile lives.
+* The script should source spec/util.sh
+* The script should source spec/setup.sh
+* They should return $EXIT_FAIL on a test failure.
+* The should return 0 or $EXIT_OK on test success.
+* Any other exit code is treated as a testing error (not failure)
+
+For an example of client / server testing, look at
+./spec/settings_section_deprecation_spec.sh
+
@@ -3,6 +3,7 @@
# 2010-07-21 Jeff McCune <jeff@puppetlabs.com>
# Cleaned up
+set -e
set -u
source spec/setup.sh

0 comments on commit d95138c

Please sign in to comment.