Skip to content

Commit

Permalink
update 0004_start_test.py - remove poststart argument
Browse files Browse the repository at this point in the history
  • Loading branch information
Defenso-QTH committed Nov 18, 2024
1 parent 99038e7 commit f1b6199
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/functional_tests/0004_start_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,9 @@ def test_03_create_and_start_nobridge_vnet_jail(release, jail, invoke_cli, nobri

try:
with os.fdopen(fd, 'w') as tmp:
tmp.write(inspect.cleandoc("""
tmp.write(inspect.cleandoc(f"""
#!/bin/sh
jailname=ioc-$1
jailname=ioc-{jail.name}
jid=jls -j $jailname jid
iface=vnet0.$jid
ifconfig $iface inet6 fe80::1/64
Expand All @@ -84,7 +84,7 @@ def test_03_create_and_start_nobridge_vnet_jail(release, jail, invoke_cli, nobri
'interfaces=vnet0:none', 'vnet_default_interface=none',
'ip6_addr=vnet0|fe80::2/64', 'defaultrouter6=none',
'defaultrouter=none',
f'exec_poststart={path} {jail.name}'
f'exec_poststart={path}'
])

assert jail.exists is True
Expand Down

0 comments on commit f1b6199

Please sign in to comment.