better run function in tests
authorAlexander Solovyov <piranha@piranha.org.ua>
Tue, 02 Nov 2010 13:38:05 +0100
changeset 129 a95e20a55663
parent 128 cd818293ed93
child 130 8d3e644647f8
better run function in tests
tests/opster.t
--- a/tests/opster.t	Tue Nov 02 13:26:42 2010 +0100
+++ b/tests/opster.t	Tue Nov 02 13:38:05 2010 +0100
@@ -3,7 +3,7 @@
 
 Define some help functions::
 
-  $ function run() { python $TESTDIR/$@; }
+  $ function run() { name=$1; shift; python "$TESTDIR/$name" "$@"; }
 
 Check if usage is working::