diff options
author | Mike Frysinger <vapier@gentoo.org> | 2012-12-30 20:20:36 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2012-12-30 20:24:07 -0500 |
commit | 52b07404535c1f49942442c891f98fd3f3810daa (patch) | |
tree | 244f26da9904cdf3a3af16fae4743c43fd561bc7 /tests | |
parent | tests: check for trailing whitespace (diff) | |
download | gcc-config-52b07404535c1f49942442c891f98fd3f3810daa.tar.gz gcc-config-52b07404535c1f49942442c891f98fd3f3810daa.tar.bz2 gcc-config-52b07404535c1f49942442c891f98fd3f3810daa.zip |
gcc-config: use ${SED} everywhere
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/source/test.sed | 3 | ||||
-rw-r--r-- | tests/source/test.sed.exp | 0 |
2 files changed, 3 insertions, 0 deletions
diff --git a/tests/source/test.sed b/tests/source/test.sed new file mode 100644 index 0000000..4f439bc --- /dev/null +++ b/tests/source/test.sed @@ -0,0 +1,3 @@ +#!/bin/bash +# Make sure gcc-config does not run `sed` directly -- use ${SED}. +grep '\<sed\>' "${GCC_CONFIG}" | grep -v '^: .*SED.*type -P sed' || : diff --git a/tests/source/test.sed.exp b/tests/source/test.sed.exp new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/tests/source/test.sed.exp |