summaryrefslogtreecommitdiff
path: root/smoketest
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2024-10-25 17:34:33 +0300
committerGitHub <noreply@github.com>2024-10-25 17:34:33 +0300
commit9911bf34df960c89a47f8aa8bd0795a01aabdda5 (patch)
treea00544d5d78e350c2b1a5cd838233bae65ee13dc /smoketest
parentceb64f3dca08a14ea4ea407844103e81f8e4648a (diff)
downloadvyos-1x-9911bf34df960c89a47f8aa8bd0795a01aabdda5.tar.gz
vyos-1x-9911bf34df960c89a47f8aa8bd0795a01aabdda5.zip
T6812: Fix smoketest iproute2 check (#4174)
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
Diffstat (limited to 'smoketest')
-rwxr-xr-xsmoketest/scripts/system/test_iproute2.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/smoketest/scripts/system/test_iproute2.py b/smoketest/scripts/system/test_iproute2.py
index 2d2fe195b..f4fa0f3ba 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))