Thread (8 messages) 8 messages, 3 authors, 2025-05-20

Re: [PATCH net-next v7] selftests/vsock: add initial vmtest.sh for vsock

From: Paolo Abeni <pabeni@redhat.com>
Date: 2025-05-20 11:24:48
Also in: kvm, linux-kselftest, lkml, virtualization

On 5/16/25 12:00 AM, Bobby Eshleman wrote:
+tap_prefix() {
+	sed -e "s/^/${TAP_PREFIX}/"
+}
I think there is no need to the tap prefix to the output you intend to
'comment out', the kselftest infra should already add the tap prefix
mark to each line generated by the test,
+
+tap_output() {
+	if [[ ! -z "$TAP_PREFIX" ]]; then
AFAICS TAP_PREFIX is a not empty string constant, so this function is
always a no op. If so it should be dropped.

Otherwise LGTM, thanks,

Paolo
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help