meta-virtualization/recipes-containers/netavark/files/tests.patch
Martin Jansa c2e8199d87 netavark, xen: *.patch: add Upstream-Status to all patches
There is new patch-status QA check in oe-core:
https://git.openembedded.org/openembedded-core/commit/?id=76a685bfcf927593eac67157762a53259089ea8a

This is temporary work around just to hide _many_ warnings from
optional patch-status (if you add it to WARN_QA).

This just added
Upstream-Status: Pending
everywhere without actually investigating what's the proper status.

This is just to hide current QA warnings and to catch new .patch files being
added without Upstream-Status, but the number of Pending patches is now:

Patches in Pending state: 15 (11%)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2023-06-22 14:41:45 -04:00

20 lines
763 B
Diff

Upstream-Status: Pending
diff --git a/test/helpers.bash b/test/helpers.bash
index 89866ec..017b2b5 100644
--- a/test/helpers.bash
+++ b/test/helpers.bash
@@ -552,10 +552,10 @@ function run_nc_test() {
fi
nsenter -n -t "${CONTAINER_NS_PIDS[$container_ns]}" timeout --foreground -v --kill=10 5 \
- nc $nc_common_args -l -p $container_port &>"$NETAVARK_TMPDIR/nc-out" <$stdin &
+ ncat $nc_common_args -l -p $container_port &>"$NETAVARK_TMPDIR/nc-out" <$stdin &
data=$(random_string)
- run_in_host_netns nc $nc_common_args $connect_ip $host_port <<<"$data"
+ run_in_host_netns ncat $nc_common_args $connect_ip $host_port <<<"$data"
got=$(cat "$NETAVARK_TMPDIR/nc-out")
assert "$got" == "$data" "ncat received data"