Skip to content

Commit 1c47145

Browse files
Simplify test to avoid using "file" binary
1 parent f6872b2 commit 1c47145

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

barney.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,17 +46,20 @@ images:
4646
test/mfw_pkg/support-diagnostics:
4747
units:
4848
- floor: code.arista.io/efw/build%world
49+
entry:
50+
mutables:
51+
- /etc
52+
- /usr
4953
sources: []
5054
mappings:
5155
/src/support-diagnostics:
5256
snapshot: .%mfw_pkg/support-diagnostics
5357
mutable: false
5458
build: |
55-
mkdir /var/lock
59+
mkdir -p /var/lock
5660
opkg install --force-downgrade /src/support-diagnostics/mfw-packages/*/*
5761
5862
ls /usr/bin/support-diagnostics
59-
file support-diagnostics | grep "Python script"
6063
6164
################
6265
#

0 commit comments

Comments
 (0)