test-framework: add null blk

Signed-off-by: Kamil Gierszewski <kamil.gierszewski@huawei.com>
This commit is contained in:
Kamil Gierszewski
2024-09-13 12:00:19 +02:00
committed by Katarzyna Treder
parent 42ebe34da3
commit 1e82bd6d3c
3 changed files with 53 additions and 13 deletions

View File

@@ -100,10 +100,6 @@ def check_if_regular_file_exists(path):
return TestRun.executor.run(f"test -f \"{path}\"").exit_code == 0
def check_if_special_block_exist(path):
return TestRun.executor.run(f"test -b \"{path}\"").exit_code == 0
def check_if_symlink_exists(path):
return TestRun.executor.run(f"test -L \"{path}\"").exit_code == 0