public inbox for passt-dev@passt.top
 help / color / mirror / code / Atom feed
blob 537ff8053ee491d2296467358c37a0ec4e35bb56 1076 bytes (raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
 
#!/bin/sh
#
# SPDX-License-Identifier: AGPL-3.0-or-later
#
# PASST - Plug A Simple Socket Transport
#  for qemu/UNIX domain socket mode
#
# test/passt.mem.mbuto - mbuto (https://mbuto.sh) profile for memory usage tests
#
# Copyright (c) 2022 Red Hat GmbH
# Author: Stefano Brivio <sbrivio@redhat.com>

PROGS="${PROGS:-ash,dash,bash chmod ip mount insmod mkdir ln cat chmod modprobe
       grep mknod sed chown sleep bc ls ps mount unshare chroot cp kill diff
       head tail sort tr tee cut nm which}"

KMODS="${KMODS:- virtio_net virtio_pci vmw_vsock_virtio_transport}"

NODES="${NODES:-console kmsg null ptmx random urandom zero}"

LINKS="${LINKS:-
	 ash,dash,bash		/init
	 ash,dash,bash		/bin/sh}"

DIRS="${DIRS} /tmp /sbin"

COPIES="${COPIES} ../passt.avx2,/bin/passt.avx2"

FIXUP="${FIXUP}"'
ln -s /bin /usr/bin
chmod 777 /tmp
ip link set eth0 up
ip address add 192.0.2.2/24 dev eth0
ip address add 2001:db8::2/64 dev eth0
ip route add default via 192.0.2.1
ip -6 route add default via 2001:db8::1 dev eth0
sleep 2
sh +m
'

OUTPUT="KERNEL=__KERNEL__
INITRD=__INITRD__
"

debug log:

solving 537ff80 ...
found 537ff80 in https://archives.passt.top/passt-dev/20221101051937.1294869-2-david@gibson.dropbear.id.au/
found 1550c15 in https://archives.passt.top/passt-dev/20221102231307.378109-6-sbrivio@redhat.com/ ||
	https://archives.passt.top/passt-dev/20221031112059.170269-6-sbrivio@redhat.com/

applying [1/2] https://archives.passt.top/passt-dev/20221102231307.378109-6-sbrivio@redhat.com/
diff --git a/test/passt.mem.mbuto b/test/passt.mem.mbuto
new file mode 100755
index 0000000..1550c15

Checking patch test/passt.mem.mbuto...
Applied patch test/passt.mem.mbuto cleanly.

skipping https://archives.passt.top/passt-dev/20221031112059.170269-6-sbrivio@redhat.com/ for 1550c15
index at:
100755 1550c1505895a02ca4bd1e29327e1262cf14b6b3	test/passt.mem.mbuto

applying [2/2] https://archives.passt.top/passt-dev/20221101051937.1294869-2-david@gibson.dropbear.id.au/
diff --git a/test/passt.mem.mbuto b/test/passt.mem.mbuto
index 1550c15..537ff80 100755

Checking patch test/passt.mem.mbuto...
Applied patch test/passt.mem.mbuto cleanly.

index at:
100755 537ff8053ee491d2296467358c37a0ec4e35bb56	test/passt.mem.mbuto

Code repositories for project(s) associated with this public inbox

	https://passt.top/passt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for IMAP folder(s).