diff options
| author | David Bremner <david@tethera.net> | 2022-01-21 19:38:48 -0400 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2022-01-27 07:48:27 -0400 |
| commit | 0756105832612ad12661d1dd61b7e7b5bfe99c6c (patch) | |
| tree | 69af7f627ab7d89f7020c92091698ddadb362c35 /test/test-lib.sh | |
| parent | 0a32741fceb7778ced34064eacb7b5aac2c71638 (diff) | |
test: sanitize generated message files names
It is fragile to encode the generated names into tests, as it makes
tests break when e.g. new tests are added. There is a possibility
that this will hide certain failures; in that case meaningful filenames
should be chosen for the generated messages.
Diffstat (limited to 'test/test-lib.sh')
| -rw-r--r-- | test/test-lib.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test-lib.sh b/test/test-lib.sh index af017ec2..833bf5fe 100644 --- a/test/test-lib.sh +++ b/test/test-lib.sh @@ -551,7 +551,7 @@ notmuch_search_sanitize () { } notmuch_search_files_sanitize () { - notmuch_dir_sanitize + notmuch_dir_sanitize | sed 's/msg-[0-9][0-9][0-9]/msg-XXX/' } notmuch_dir_sanitize () { |
