diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2016-09-25 19:39:48 +0100 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2016-09-26 01:16:58 +0100 |
commit | 86c44593c1e834384749f81b89b99c5a865b4627 (patch) | |
tree | c01d7824be0f0cecb763b3601628ee242786bb5e /tests | |
parent | 57fe9181f58d6a311dd105283eff2be055de26b6 (diff) |
Test suite: Add spelling test
Fail this test if the tree contains the misspelling of "pseudo".
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/tests/spelling | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/tests/spelling b/tests/tests/spelling new file mode 100755 index 0000000..74541b7 --- /dev/null +++ b/tests/tests/spelling @@ -0,0 +1,16 @@ +#!/bin/bash +set -e +. tests/lib + +t-restrict x-dgit-git-only + +cd $root + +set +e +git grep -q -i 'ps[u]edo' +rc=$? +set -e + +test $rc = 1 + +echo ok. |