tests: make sure it doest get confused by other zfs datasets

This commit is contained in:
Edwin Eefting
2020-06-25 17:15:18 +02:00
parent f363142926
commit 915a29b36e
4 changed files with 17 additions and 18 deletions

View File

@ -11,7 +11,7 @@ from pprint import *
from bin.zfs_autobackup import *
from mock import *
TEST_POOLS="test_source1 test_source2 test_target1"
def shelltest(cmd):
@ -27,7 +27,6 @@ def prepare_zpools():
print("Preparing zfs filesystems...")
#need ram blockdevice
# subprocess.call("rmmod brd", shell=True)
subprocess.check_call("modprobe brd rd_size=512000", shell=True)
#remove old stuff