diff --git a/test/functional/tests/io_class/test_io_class_process.py b/test/functional/tests/io_class/test_io_class_process.py index fa15f00..8a6e6a1 100644 --- a/test/functional/tests/io_class/test_io_class_process.py +++ b/test/functional/tests/io_class/test_io_class_process.py @@ -122,7 +122,8 @@ def test_ioclass_pid(): with TestRun.step(f"Run dd with pid {pid}."): # pid saved in 'ns_last_pid' has to be smaller by one than target dd pid dd_and_pid_command = ( - f"echo {pid-1} > /proc/sys/kernel/ns_last_pid && {dd_command}" + f"echo {pid-1} > /proc/sys/kernel/ns_last_pid && {dd_command} " + f"&& cat /proc/sys/kernel/ns_last_pid" ) output = TestRun.executor.run(dd_and_pid_command) if output.exit_code != 0: