diff options
author | Lars Wirzenius <liw@liw.fi> | 2011-08-15 20:29:26 +0100 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2011-08-15 20:29:26 +0100 |
commit | 8c7feeb95a407abaeccbcac02175891fea14a19a (patch) | |
tree | 3f4b5dcfeb641540a9e912ae62069d4ada8b5a9d /README | |
parent | da6cba614a433a39e83d704fcf5ca7d108c8ffb8 (diff) | |
download | cmdtest-8c7feeb95a407abaeccbcac02175891fea14a19a.tar.gz |
Document (and fix) args format and variable expansion.
Diffstat (limited to 'README')
-rw-r--r-- | README | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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` |