diff options
author | Mike Frysinger <vapier@gentoo.org> | 2012-12-30 20:19:57 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2012-12-30 20:19:57 -0500 |
commit | 9ce264785bee55e6fcfd98d511da5cbe5c310421 (patch) | |
tree | bb37d25ad300c674a6c96b057cffa9b53c1e949e /tests | |
parent | tests: run in parallel (diff) | |
download | gcc-config-9ce264785bee55e6fcfd98d511da5cbe5c310421.tar.gz gcc-config-9ce264785bee55e6fcfd98d511da5cbe5c310421.tar.bz2 gcc-config-9ce264785bee55e6fcfd98d511da5cbe5c310421.zip |
tests: check for trailing whitespace
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/source/test.whitespace | 2 | ||||
-rw-r--r-- | tests/source/test.whitespace.exp | 0 |
2 files changed, 2 insertions, 0 deletions
diff --git a/tests/source/test.whitespace b/tests/source/test.whitespace new file mode 100644 index 0000000..28108ae --- /dev/null +++ b/tests/source/test.whitespace @@ -0,0 +1,2 @@ +#!/bin/bash +! egrep -nH '[[:space:]]+$' "${TROOT}"/../{gcc-config,wrapper.c} diff --git a/tests/source/test.whitespace.exp b/tests/source/test.whitespace.exp new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/tests/source/test.whitespace.exp |