aboutgitcode
diff options
context:
space:
mode:
authorStefano Brivio <sbrivio@redhat.com>2021-08-30 18:12:54 +0200
committerStefano Brivio <sbrivio@redhat.com>2021-08-30 18:12:54 +0200
commitedcb381f3f1c2c0f3df70692dc6cf716940f18c1 (patch)
tree29ad610190b0b0ad7fe9eeaa07acab28be1d3967
parent6697bcc5ad7c00bfa6e42229478f5fafda461682 (diff)
downloadmbuto-edcb381f3f1c2c0f3df70692dc6cf716940f18c1.tar
mbuto-edcb381f3f1c2c0f3df70692dc6cf716940f18c1.tar.gz
mbuto-edcb381f3f1c2c0f3df70692dc6cf716940f18c1.tar.bz2
mbuto-edcb381f3f1c2c0f3df70692dc6cf716940f18c1.tar.lz
mbuto-edcb381f3f1c2c0f3df70692dc6cf716940f18c1.tar.xz
mbuto-edcb381f3f1c2c0f3df70692dc6cf716940f18c1.tar.zst
mbuto-edcb381f3f1c2c0f3df70692dc6cf716940f18c1.zip
mbuto: Add profile for passt tests
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
-rwxr-xr-xmbuto20
1 files changed, 20 insertions, 0 deletions
diff --git a/mbuto b/mbuto
index 4a39bd3..4149611 100755
--- a/mbuto
+++ b/mbuto
@@ -97,6 +97,26 @@ profile_shell() {
bash"
}
+# Profile for passt (https://passt.top) tests
+profile_passt() {
+ PROGS="ash,dash,bash ip mount ls insmod mkdir ln cat chmod lsmod
+ modprobe find grep mknod mv rm umount udhcpc jq iperf3
+ dhclient busybox logger"
+ LINKS="
+ ash,dash,bash /init
+ ash,dash,bash /bin/sh
+ ash,dash,bash /usr/bin/bash
+ "
+ NODES="${NODES}
+ tty
+ ttyS0"
+ DIRS="${DIRS}
+ /tmp"
+ COPIES="/etc/udhcpc/default.script"
+ FIXUP="${FIXUP}
+ sh +m"
+}
+
# Profile to install pbench-server from Fedora packages, spawn shell before init
profile_pbench() {
PROGS="${PROGS} bash env grep sed p11-kit cat mkdir chown chmod