Factory/ipcalc/ipcalc-disable-network-tests.patch
Nicolas Belouin 71bd51893e Fix dependencies
Signed-off-by: Nicolas Belouin <nicolas.belouin@suse.com>
2024-10-22 16:43:48 +02:00

51 lines
1.1 KiB
Diff

Index: ipcalc-1.0.0/tests/meson.build
===================================================================
--- ipcalc-1.0.0.orig/tests/meson.build
+++ ipcalc-1.0.0/tests/meson.build
@@ -64,14 +64,6 @@ test('RandomIPv6Explicit',
ipcalc.full_path() + ' -6 -r 24' + '|grep Address'
]
)
-test('HostnameIPv6Localhost',
- testrunner,
- args : [
- '--test-outfile',
- ipcalc.full_path() + ' -6 -o localhost',
- files('hostname-localhost-ipv6')
- ]
-)
test('HostnameIPv4Localhost',
testrunner,
args : [
@@ -88,30 +80,6 @@ test('HostnameIPv4LocalhostJson',
files('hostname-localhost-ipv4-json')
]
)
-test('IPIPv6Localhost',
- testrunner,
- args : [
- '--test-outfile',
- ipcalc.full_path() + ' -h ::1',
- files('ip-localhost-ipv6')
- ]
-)
-test('IPIPv4Localhost',
- testrunner,
- args : [
- '--test-outfile',
- ipcalc.full_path() + ' -h 127.0.0.1',
- files('ip-localhost-ipv4')
- ]
-)
-test('IPIPv4LocalhostJson',
- testrunner,
- args : [
- '--test-outfile',
- ipcalc.full_path() + ' -j -h 127.0.0.1',
- files('ip-localhost-ipv4-json')
- ]
-)
# --class-prefix tests
test('AssignClassPrefix12',
testrunner,