From e4c3c4e06ef1232ae8e335406e1bf22b9f8b1201 Mon Sep 17 00:00:00 2001 From: Ariadne Conill Date: Wed, 29 Jul 2020 02:14:42 -0600 Subject: [PATCH] mock dependency generator: add support for mock-depends property --- tests/executors/mock-dependency-generator | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/executors/mock-dependency-generator b/tests/executors/mock-dependency-generator index e413947..040035e 100755 --- a/tests/executors/mock-dependency-generator +++ b/tests/executors/mock-dependency-generator @@ -1,5 +1,7 @@ #!/bin/sh +[ -z "$IF_MOCK_DEPENDS" ] && IF_MOCK_DEPENDS="eth0 eth1 eth2 eth3 eth4" + case "$PHASE" in -depend) echo "eth0 eth1 eth2 eth3 eth4" ;; +depend) echo "$IF_MOCK_DEPENDS" ;; esac