From 86c44593c1e834384749f81b89b99c5a865b4627 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 25 Sep 2016 19:39:48 +0100 Subject: Test suite: Add spelling test Fail this test if the tree contains the misspelling of "pseudo". Signed-off-by: Ian Jackson --- tests/tests/spelling | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100755 tests/tests/spelling (limited to 'tests/tests') 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. -- cgit v1.2.3