Skip to content

Commit ef8f164

Browse files
committed
prepare for travis
1 parent f5a02e1 commit ef8f164

File tree

3 files changed

+11
-1
lines changed

3 files changed

+11
-1
lines changed

fsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ FN=iotest
2525

2626
make init
2727
cd tests/test_mount/test_child/
28-
fsx-linux -d -d -N 100 $FN -P ../../test_logs
28+
fsx-linux -d -d -N 1000 $FN -P ../../test_logs
2929
cd ../../..
3030
make destroy_childfs
3131
cp -a tests/test_mount/test_child/$FN tests/test_logs/$FN.fsxactual

makefile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,16 @@ destroy_childfs:
7373
python3 -c 'import tests; tests.lib.quick_cli_destroy_childfs()'
7474

7575
test:
76+
make test_posix
77+
make test_stress
78+
79+
test_posix:
7680
# make docu
7781
-rm tests/__pycache__/*.pyc
7882
-rm tests/lib/__pycache__/*.pyc
7983
# USAGE: make test T="-T chmod/01.t -T chmod/02.t"
8084
# REFERENCE TEST WITH EXT4: make test T="-M ext4"
8185
pytest $(T)
86+
87+
test_stress:
88+
./fsx

tests/lib/base.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,9 @@ def assert_childfs_mountpoint(self):
144144

145145
def assert_parentfs_mountpoint(self):
146146

147+
if self.travis:
148+
return
149+
147150
assert is_path_mountpoint(self.mount_parent_abs_path)
148151

149152

0 commit comments

Comments
 (0)