aboutgitcodebugslistschat
diff options
context:
space:
mode:
authorYumei Huang <yuhuang@redhat.com>2025-09-26 16:47:40 +0800
committerStefano Brivio <sbrivio@redhat.com>2025-09-26 12:16:21 +0200
commitf4729be7a56baf3b310a63a5182fbadf14c4d3a7 (patch)
tree1162e6742e26c23e5c38d25ce6785dd6cd6eba72
parentde28c20d8051735d0b828cedb8697c8ef65dd719 (diff)
downloadpasst-f4729be7a56baf3b310a63a5182fbadf14c4d3a7.tar
passt-f4729be7a56baf3b310a63a5182fbadf14c4d3a7.tar.gz
passt-f4729be7a56baf3b310a63a5182fbadf14c4d3a7.tar.bz2
passt-f4729be7a56baf3b310a63a5182fbadf14c4d3a7.tar.lz
passt-f4729be7a56baf3b310a63a5182fbadf14c4d3a7.tar.xz
passt-f4729be7a56baf3b310a63a5182fbadf14c4d3a7.tar.zst
passt-f4729be7a56baf3b310a63a5182fbadf14c4d3a7.zip
test: Update mbuto profile to fix the symlink of /binHEADmaster
When running test 'migrate/rampstream_out' on fedora, test fails with error like this: guest_1$ socat -u EXEC:"rampstream send 6000000" TCP4:192.0.2.1:10006 2025/09/24 04:06:12 socat[405] E execvp("rampstream", "rampstream", "send", "6000000", ...): No such file or directory It's because on fedora, /bin is not in the PATH, and some binaries are under /usr/bin. mbuto will find the binaries on the host and put them into the guest under same directories. As a result, /usr/bin in mbuto guest are not empty, causing creating /usr/bin symlink failed. Thus, the script 'rampstream' under /bin is not found during testing. This patch fixes the issue and creates the symlink for consistency with /sbin. Link: https://bugs.passt.top/show_bug.cgi?id=151 Suggested-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Yumei Huang <yuhuang@redhat.com> Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
-rwxr-xr-xtest/passt.mbuto4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/passt.mbuto b/test/passt.mbuto
index 176cf3f..231b9c9 100755
--- a/test/passt.mbuto
+++ b/test/passt.mbuto
@@ -64,7 +64,9 @@ set >> \$LOG
exit 0
EOF
chmod 755 /sbin/dhclient-script
- ln -s /bin /usr/bin
+ mv /bin/* /usr/bin || :
+ rm -rf /bin
+ ln -s /usr/bin /bin
ln -s /run /var/run
:> /etc/fstab