summaryrefslogtreecommitdiffstats
path: root/README
diff options
context:
space:
mode:
authorPavel Raiskup <[email protected]>2014-10-02 12:33:52 +0200
committerPavel Raiskup <[email protected]>2014-10-03 09:24:13 +0200
commit3a60df60e73c23730210f3706233d74597034148 (patch)
treed614b441813e0d4e2299461bf093a3129b4da42b /README
downloadpostgresql-setup-tests-3a60df60e73c23730210f3706233d74597034148.tar.gz
postgresql-setup-tests-3a60df60e73c23730210f3706233d74597034148.tar.xz
postgresql-setup-tests-3a60df60e73c23730210f3706233d74597034148.zip
Initial commit
Initializet the lib/run structure and created two basic tests for PostgreSQL. * README: New file. * lib.sh: Likewise. * lib_pgsql.sh: Likewise. * run: Likewise. * tasks/initdb/config.sh: Likewise. * tasks/initdb/runtest.sh: Likewise. * tasks/initdb_old/config.sh: Likewise. * tasks/initdb_old/runtest.sh: Likewise.
Diffstat (limited to 'README')
-rw-r--r--README32
1 files changed, 32 insertions, 0 deletions
diff --git a/README b/README
new file mode 100644
index 0000000..68b53a9
--- /dev/null
+++ b/README
@@ -0,0 +1,32 @@
+GENERAL INFO
+============
+
+System checking (dummy) testsuite fw. The tests are *expected* to be
+destructive and always performed under root account; test writer should only
+make sure that no test conflicts with others (so that all tests are able to run
+on one machine successfully in any order).
+
+OVERVIEW
+========
+
+
+Each file should consist of config.sh and runtest.sh. Both are supposed to be
+"sourced" into another scripts (so no need to have execute permissions). Each
+test case should have its own directory.
+
+USAGE
+=====
+
+The most simple usage is like `./run`. Script is able to search for available
+test-cases and then run them. For more info, run `./run --help`. TODO: The
+testsuite is root-only.
+
+API for config.sh file
+======================
+
+Variables which should/may be defined in config.sh file.
+
+$DTF_TEST_ID - unique ID of task. Without spaces.
+
+$DTF_TEST_DESCRIPTION - descriptive info about test, will be used for
+generating html or otherwise formated result output.
OSZAR »