[PATCH 1/1] UBUNTU: SAUCE: selftests: net: altnames.sh fix following upstream updates
Mehmet Basaran
mehmet.basaran at canonical.com
Thu Dec 18 12:41:24 UTC 2025
BugLink: https://bugs.launchpad.net/bugs/2135261
The following commit changed a common libraries location without updating
the references:
[ Upstream commit b219bcfcc92e9bd50c6277ac68cb75f64b403e5e ]
selftests: net: lib: Move logging from forwarding/lib.sh here
As a result, net:altnames.sh test case fails complaining it cannot find
functions defined by the library:
# ./altnames.sh: line 55: log_test: command not found
There is only one reference to this library. Updating it fixes the error.
Changes only effect selftests: net: altnames.sh testcase. So this commit
is practically safe and upstream will probably fix it. After that we can
undo this commit.
Signed-off-by: Mehmet Basaran <mehmet.basaran at canonical.com>
---
tools/testing/selftests/net/altnames.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/testing/selftests/net/altnames.sh b/tools/testing/selftests/net/altnames.sh
index 1ef9e4159bba..9c28d3a80aae 100755
--- a/tools/testing/selftests/net/altnames.sh
+++ b/tools/testing/selftests/net/altnames.sh
@@ -1,7 +1,7 @@
#!/bin/bash
# SPDX-License-Identifier: GPL-2.0
-lib_dir=$(dirname $0)/forwarding
+lib_dir=$(dirname $0)
ALL_TESTS="altnames_test"
NUM_NETIFS=0
--
2.43.0
More information about the kernel-team
mailing list