Skip to content

Commit

Permalink
T6812: Fix smoketest iproute2 check (vyos#4174)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
sever-sever authored Oct 25, 2024
1 parent ceb64f3 commit 9911bf3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion smoketest/scripts/system/test_iproute2.py
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 9911bf3

Please sign in to comment.