tests: Ensure that "nc" can be found
"nc" is made available via "alternatives" therefore we have to select
the binary ourselves via symlink.
@@ -164,6 +164,7 @@ rpmtree(
symlinks = {
"/var/run": "../run",
"/usr/sbin/iptables": "/usr/sbin/iptables-legacy",
+ "/usr/bin/nc": "/usr/bin/ncat",
},
visibility = ["//visibility:public"],
)
@@ -285,6 +286,7 @@ rpmtree(
symlinks = {
"/var/run": "../run",
"/usr/sbin/iptables": "/usr/sbin/iptables-legacy",
+ "/usr/bin/nc": "/usr/bin/ncat",
},
visibility = ["//visibility:public"],
)
@@ -518,6 +520,7 @@ rpmtree(
symlinks = {
"/var/run": "../run",
"/usr/sbin/iptables": "/usr/sbin/iptables-legacy",
+ "/usr/bin/nc": "/usr/bin/ncat",
},
visibility = ["//visibility:public"],
)
@@ -758,6 +761,7 @@ rpmtree(
symlinks = {
"/var/run": "../run",
"/usr/sbin/iptables": "/usr/sbin/iptables-legacy",
+ "/usr/bin/nc": "/usr/bin/ncat",
},
visibility = ["//visibility:public"],
)
@@ -1409,6 +1413,7 @@ rpmtree(
],
symlinks = {
"/var/run": "../run",
+ "/usr/bin/nc": "/usr/bin/ncat",
},
visibility = ["//visibility:public"],
)
@@ -1533,6 +1538,7 @@ rpmtree(
],
symlinks = {
"/var/run": "../run",
+ "/usr/bin/nc": "/usr/bin/ncat",
},
visibility = ["//visibility:public"],
)
