Skip to contentSkip to conversation

dev-mornfall-nix - test: Do not fail when flavour overrides are empty.

PATCH Petr Rockai 1 participant 1 message May 27, 2013

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=dd392346cccffa33d98df99fcaa2af0f1f2e6965
Commit:        dd392346cccffa33d98df99fcaa2af0f1f2e6965
Parent:        da087da6844f543c7c8dd12d4ac1bc6920ce41a8
Author:        Petr Rockai <[email protected]>
AuthorDate:    Mon May 27 13:25:27 2013 +0200
Committer:     Petr Rockai <[email protected]>
CommitterDate: Mon May 27 13:25:27 2013 +0200

test: Do not fail when flavour overrides are empty.

---
 test/lib/test.sh |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
test/lib/test.sh +1 -0
index 7b92814..daeefdd 100644
@@ -57,6 +57,7 @@ cd "$TESTDIR"
 echo "$TESTNAME" >TESTNAME
 
 if test -n "$LVM_TEST_FLAVOUR"; then
+    touch flavour_overrides
     env | grep ^$LVM_TEST_FLAVOUR | while read var; do
 	(echo -n "export "; echo $var | sed -e s,^${LVM_TEST_FLAVOUR}_,,) >> flavour_overrides
     done