From 8c7feeb95a407abaeccbcac02175891fea14a19a Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Mon, 15 Aug 2011 20:29:26 +0100 Subject: Document (and fix) args format and variable expansion. --- README | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'README') diff --git a/README b/README index 6411733..7ab533e 100644 --- a/README +++ b/README @@ -13,6 +13,7 @@ standard output. Each test case consists of: * a set of command line arguments, not including the command name (`foo.args`) + - each argument is on its own line * the file fed to standard input (`foo.stdin`) * the expected output to the standard output (`foo.stdout`) * the expected output to the standard error (`foo.stderr`) @@ -60,4 +61,7 @@ The shell scripts may use the following environment variables: * `DATADIR`: a temporary directory where files may be created by the test +In addition, the `foo.args` files can use Pythonic string expansion: + +* `%(datadir)s` for the same value as `$DATADIR` -- cgit v1.2.1