File tree 5 files changed +39
-24
lines changed
5 files changed +39
-24
lines changed Original file line number Diff line number Diff line change 9
9
10
10
. ../unittest/unittest.sh
11
11
12
- require_valgrind 3.10
13
- require_fs_type pmem non-pmem
14
- require_test_type long
15
- configure_valgrind helgrind force-enable
12
+ # require_valgrind 3.10
13
+ require_fs_type pmem
14
+ require_test_type short
15
+ # configure_valgrind helgrind force-enable
16
16
setup
17
17
18
- for n in {1..500}
19
- do
20
- if test -f " rm $DIR /testfile" ; then
21
- rm $DIR /testfile
22
- fi
23
- PMEM_IS_PMEM_FORCE=1 expect_normal_exit\
24
- ./obj_pmalloc_mt$EXESUFFIX 32 1000 100 $DIR /testfile 1 $n
25
- done
18
+ if test -f " rm $DIR /testfile" ; then
19
+ rm $DIR /testfile
20
+ fi
21
+ PMEM_IS_PMEM_FORCE=1 expect_normal_exit\
22
+ ./obj_pmalloc_mt$EXESUFFIX 32 1000 100 $DIR /testfile 1 0
23
+
24
+ if test -f " rm $DIR /testfile" ; then
25
+ rm $DIR /testfile
26
+ fi
27
+
28
+ PMEM_IS_PMEM_FORCE=1 expect_abnormal_exit\
29
+ ./obj_pmalloc_mt$EXESUFFIX 32 1000 100 $DIR /testfile 1 1
30
+
31
+ check
26
32
27
33
pass
Original file line number Diff line number Diff line change 9
9
10
10
. ../unittest/unittest.sh
11
11
12
- require_valgrind 3.10
13
- require_fs_type pmem non-pmem
14
- require_test_type long
15
- configure_valgrind helgrind force-enable
12
+ # require_valgrind 3.10
13
+ require_fs_type pmem
14
+ require_test_type short
15
+ # configure_valgrind helgrind force-enable
16
16
setup
17
17
18
- for n in {1..50}
19
- do
20
- if test -f " rm $DIR /testfile" ; then
21
- rm $DIR /testfile
22
- fi
23
- PMEM_IS_PMEM_FORCE=1 expect_normal_exit\
24
- ./obj_pmalloc_mt$EXESUFFIX 32 1000 100 $DIR /testfile 0 $n
25
- done
18
+ if test -f " rm $DIR /testfile" ; then
19
+ rm $DIR /testfile
20
+ fi
21
+ PMEM_IS_PMEM_FORCE=1 expect_normal_exit\
22
+ ./obj_pmalloc_mt$EXESUFFIX 32 1000 100 $DIR /testfile 0 0
23
+
24
+ if test -f " rm $DIR /testfile" ; then
25
+ rm $DIR /testfile
26
+ fi
27
+ PMEM_IS_PMEM_FORCE=1 expect_abnormal_exit\
28
+ ./obj_pmalloc_mt$EXESUFFIX 32 1000 100 $DIR /testfile 0 1
29
+
30
+ check
26
31
27
32
pass
Original file line number Diff line number Diff line change
1
+ {obj_pmalloc_mt.c:68 realloc_worker} obj_pmalloc_mt/TEST8: Error: assertion failure: ret (0xffffffffffffffff) == 0 (0x0)
Original file line number Diff line number Diff line change
1
+ {obj_pmalloc_mt.c:68 realloc_worker} obj_pmalloc_mt/TEST9: Error: assertion failure: ret (0xffffffffffffffff) == 0 (0x0)
2
+ {obj_pmalloc_mt.c:68 realloc_worker} obj_pmalloc_mt/TEST9: Error: assertion failure: ret (0xffffffffffffffff) == 0 (0x0)
Original file line number Diff line number Diff line change @@ -465,6 +465,7 @@ main(int argc, char *argv[])
465
465
*/
466
466
if (Threads == MAX_THREADS ) /* don't run for short tests */
467
467
run_worker (tx_worker , args );
468
+
468
469
run_worker (tx3_worker , args );
469
470
470
471
pmemobj_close (pop );
You can’t perform that action at this time.
0 commit comments