diff options
author | Jon Paul Maloy <jmaloy@redhat.com> | 2023-12-14 16:12:19 -0500 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2023-12-27 19:33:31 +0100 |
commit | f0ccca741f641ff0a6abc2bf9c43eb834b284014 (patch) | |
tree | f7df410f5019670fed985e477aed62400278cf9d /util.c | |
parent | 6a348cb435ce05d9da5348246eff867774d150d6 (diff) | |
download | passt-f0ccca741f641ff0a6abc2bf9c43eb834b284014.tar passt-f0ccca741f641ff0a6abc2bf9c43eb834b284014.tar.gz passt-f0ccca741f641ff0a6abc2bf9c43eb834b284014.tar.bz2 passt-f0ccca741f641ff0a6abc2bf9c43eb834b284014.tar.lz passt-f0ccca741f641ff0a6abc2bf9c43eb834b284014.tar.xz passt-f0ccca741f641ff0a6abc2bf9c43eb834b284014.tar.zst passt-f0ccca741f641ff0a6abc2bf9c43eb834b284014.zip |
test: make passt.mbuto script more robust
Creation of a symbolic link from /sbin to /usr/sbin fails if /sbin
exists and is non-empty. This is the case on Ubuntu-23.04.
We fix this by removing /sbin before creating the link.
Signed-off-by: Jon Maloy <jmaloy@redhat.com>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'util.c')
0 files changed, 0 insertions, 0 deletions