aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2012-12-30 20:19:57 -0500
committerMike Frysinger <vapier@gentoo.org>2012-12-30 20:19:57 -0500
commit9ce264785bee55e6fcfd98d511da5cbe5c310421 (patch)
treebb37d25ad300c674a6c96b057cffa9b53c1e949e /tests
parenttests: run in parallel (diff)
downloadgcc-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.whitespace2
-rw-r--r--tests/source/test.whitespace.exp0
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