summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorJan Tulak <jtulak@redhat.com>2015-04-02 09:23:10 +1100
committerDave Chinner <david@fromorbit.com>2015-04-02 09:23:10 +1100
commit03c633bff6e47b362faf947bcf0cf3b7af87f67b (patch)
tree658ae04d32c74a0663ce4e00efd9063accb6cb10 /README
parent856ff268845570b9b5a7d2499452af2da0866f83 (diff)
build: Allow alphanumeric test name suffixes
To allow test names to be more descriptive, allow a suffix to be added to the numeric name of the test. e.g. a test can be named "tests/generic/001-some-descriptive-name". Name suffixes are limited to alphanumeric characters and dash - the name is always prefixed with an unique id for easy identification of a specific test. Hence we can still use shorthand forms such as "generic/001" when referring to a test and be clearly understood. Signed-off-by: Jan Tulak <jtulak@redhat.com> Reviewed-by: Eryu Guan <eguan@redhat.com> Reviewed-by: David Sterba <dsterba@suse.cz> Reviewed-by: Dave Chinner <dchinner@redhat.com> Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'README')
-rw-r--r--README8
1 files changed, 7 insertions, 1 deletions
diff --git a/README b/README
index 0c9449a2..f8a878ca 100644
--- a/README
+++ b/README
@@ -202,10 +202,16 @@ Test script environment:
- When calling getfacl in a test, pass the "-n" argument so
that numeric rather than symbolic identifiers are used in
the output.
+ - When creating a new test, it is possible to enter a custom name
+ for the file. Filenames are in form NNN-custom-name, where NNN
+ is automatically added by the ./new script as an unique ID,
+ and "custom-name" is the optional string entered into a prompt
+ in the ./new script. It can contain only alphanumeric characters
+ and dash. Note the "NNN-" part is added automatically.
Verified output:
- Each test script has a numerical name, e.g. 007, and an associated
+ Each test script has a name, e.g. 007, and an associated
verified output, e.g. 007.out.
It is important that the verified output is deterministic, and