From 42bf27fa65978e99d2fbc92a0ff87997000fab52 Mon Sep 17 00:00:00 2001 From: Viacheslav Hletenko Date: Fri, 25 Oct 2024 08:32:50 +0000 Subject: [PATCH] T6812: Fix smoketest iproute2 check In the new iproute2 package the link to `ip` was changed $ file /usr/sbin/ip /usr/sbin/ip: symbolic link to ../bin/ip Fix smoketest --- smoketest/scripts/system/test_iproute2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/smoketest/scripts/system/test_iproute2.py b/smoketest/scripts/system/test_iproute2.py index 2d2fe195b5..f4fa0f3ba7 100755 --- a/smoketest/scripts/system/test_iproute2.py +++ b/smoketest/scripts/system/test_iproute2.py @@ -21,7 +21,7 @@ class TestIproute2(unittest.TestCase): def test_ip_is_symlink(self): # For an unknown reason VyOS 1.3.0-rc2 did not have a symlink from # /usr/sbin/ip -> /bin/ip - verify this now and forever - real_file = '/bin/ip' + real_file = '../bin/ip' symlink = '/usr/sbin/ip' self.assertTrue(os.path.islink(symlink)) self.assertFalse(os.path.islink(real_file))