openvswitch*: fix tests on python 3.13
This commit is contained in:
parent
d0585adbbd
commit
6f0a1a1988
@ -48,6 +48,9 @@ stdenv.mkDerivation rec {
|
||||
patches = [
|
||||
# 8: vsctl-bashcomp - argument completion FAILED (completion.at:664)
|
||||
./patches/disable-bash-arg-completion-test.patch
|
||||
|
||||
# https://github.com/openvswitch/ovs/commit/9185793e75435d890f18d391eaaeab0ade6f1415
|
||||
./patches/fix-python313.patch
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
12
pkgs/by-name/op/openvswitch/patches/fix-python313.patch
Normal file
12
pkgs/by-name/op/openvswitch/patches/fix-python313.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff --git a/tests/vlog.at b/tests/vlog.at
|
||||
index 785014956e7..efe91479a63 100644
|
||||
--- a/tests/vlog.at
|
||||
+++ b/tests/vlog.at
|
||||
@@ -8,6 +8,7 @@ AT_CHECK([$PYTHON3 $srcdir/test-vlog.py --log-file log_file \
|
||||
|
||||
AT_CHECK([sed -e 's/.*-.*-.*T..:..:..Z |//' \
|
||||
-e 's/File ".*", line [[0-9]][[0-9]]*,/File <name>, line <number>,/' \
|
||||
+-e '/\^\+/d' \
|
||||
stderr_log], [0], [dnl
|
||||
0 | module_0 | EMER | emergency
|
||||
1 | module_0 | ERR | error
|
Loading…
Reference in New Issue
Block a user