summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Hill <dirtyepic@gentoo.org>2013-11-02 03:17:58 +0000
committerRyan Hill <dirtyepic@gentoo.org>2013-11-02 03:17:58 +0000
commit1c49ced7bcdab04ecefdcc71bbfe10e545f073d5 (patch)
tree4d75885c24acc83d4b7eae81e75af80dc117e8f9 /eclass/tests
parentadd remote-id to metadata.xml (diff)
downloadgentoo-2-1c49ced7bcdab04ecefdcc71bbfe10e545f073d5.tar.gz
gentoo-2-1c49ced7bcdab04ecefdcc71bbfe10e545f073d5.tar.bz2
gentoo-2-1c49ced7bcdab04ecefdcc71bbfe10e545f073d5.zip
Account for leading whitespace in append-cflags tests.
Diffstat (limited to 'eclass/tests')
-rwxr-xr-xeclass/tests/flag-o-matic.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/tests/flag-o-matic.sh b/eclass/tests/flag-o-matic.sh
index c62f4e225898..7fd0182260e3 100755
--- a/eclass/tests/flag-o-matic.sh
+++ b/eclass/tests/flag-o-matic.sh
@@ -101,13 +101,13 @@ ftend
tbegin "append-cflags basic"
CFLAGS=
append-cflags -O0
-[[ ${CFLAGS} == "-O0" ]]
+[[ ${CFLAGS} == " -O0" ]]
ftend
tbegin "append-cflags -DFOO='a b c'"
CFLAGS=
append-cflags '-DFOO="a b c"'
-[[ ${CFLAGS} == '-DFOO="a b c"' ]]
+[[ ${CFLAGS} == ' -DFOO="a b c"' ]]
ftend
tbegin "raw-ldflags"