[DRBD-cvs] testing by lars; some README additions
drbd-user@lists.linbit.com
drbd-user@lists.linbit.com
Fri, 28 May 2004 10:57:07 +0200 (CEST)
DRBD CVS committal
Author : lars
Project : drbd
Module : testing
Dir : drbd/testing/CTH
Modified Files:
Tag: rel-0_7-branch
README
Log Message:
some README additions
===================================================================
RCS file: /var/lib/cvs/drbd/drbd/testing/CTH/Attic/README,v
retrieving revision 1.1.2.2
retrieving revision 1.1.2.3
diff -u -3 -r1.1.2.2 -r1.1.2.3
--- README 27 May 2004 17:46:58 -0000 1.1.2.2
+++ README 28 May 2004 08:57:02 -0000 1.1.2.3
@@ -61,23 +61,42 @@
Example of how to use the core functions directly from bash.
In contrast to generic_test.pl and the LGE_CTH perl modules,
this is meant to script one particular failure scenario.
+
+ The idea is that you create a config file matching your setup
+ (see the next two for example), then script a simple test case
+ you suspect to be a problem for DRBD.
+
+ Then get you an extra bash instance (because the internal functions may
+ explicitly call "exit", which otherwise will kick your seesion out),
+ and then "source CTH_bash.sh your.sh.conf T-00X.sh", which will run the
+ test case, and drops you back to your extra bash instance, which now
+ has an "extended command set" and environment, so you can interactively
+ investigate what went wrong (if something went wrong), or reapeat
+ certain steps, or do additional weird stuff.
CTH_bash.conf::
sample configuration for the CTH_bash.sh similar to uml-minna.conf
+ bloodymary.sh.conf::
+ sample configuration for the bash CTH similar to bloodymary.conf
+
CTH_bash.helpers:: guess what ... to keep the CTH_bash.sh clean.
+ T-###.sh::
+ simple example test cases to show how this is intended to be used.
+
=== Test Resources ===
* tiobench
* wbtest
== AUTHOR ==
-of all this crap is Lars Ellenberg <l.g.e@web.de>
+of all this crap is Lars Ellenberg <l.g.e@web.de>,
+if not otherwise stated.
In case you care for an explicit '''license statement''':
This is and needs to be GPL.
-# $Id: README,v 1.1.2.2 2004/05/27 17:46:58 lars Exp $
+# $Id: README,v 1.1.2.3 2004/05/28 08:57:02 lars Exp $
# if you don't know wiki-moin.vim: http://linuxha.trick.ca/WikiTricks
# vim: set ft=wiki-moin :