summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorRyan Hill <rhill@gentoo.org>2013-11-02 03:17:58 +0000
committerRyan Hill <rhill@gentoo.org>2013-11-02 03:17:58 +0000
commit3f170c830bb39cdec9195f5f5e953613a6879338 (patch)
treeb862d31f2ef4820ce997aab660a135ce3e6361b9 /eclass
parentadd remote-id to metadata.xml (diff)
downloadhistorical-3f170c830bb39cdec9195f5f5e953613a6879338.tar.gz
historical-3f170c830bb39cdec9195f5f5e953613a6879338.tar.bz2
historical-3f170c830bb39cdec9195f5f5e953613a6879338.zip
Account for leading whitespace in append-cflags tests.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/ChangeLog5
-rwxr-xr-xeclass/tests/flag-o-matic.sh4
2 files changed, 6 insertions, 3 deletions
diff --git a/eclass/ChangeLog b/eclass/ChangeLog
index 33ebddf7255e..f5be34b12fba 100644
--- a/eclass/ChangeLog
+++ b/eclass/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for eclass directory
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1041 2013/10/30 19:21:12 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1042 2013/11/02 03:17:58 dirtyepic Exp $
+
+ 02 Nov 2013; Ryan Hill <dirtyepic@gentoo.org> tests/flag-o-matic.sh:
+ Account for leading whitespace in append-cflags tests.
30 Oct 2013; Michał Górny <mgorny@gentoo.org> git-r3.eclass:
Fix parallel checkout race conditions, bug #489280.
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"