Skip to content

Commit 0ebcad0

Browse files
committed
test: remove unnecessary requirements
Signed-off-by: Oksana Salyk <oksana.salyk@hpe.com>
1 parent c4e8be4 commit 0ebcad0

File tree

16 files changed

+11
-43
lines changed

16 files changed

+11
-43
lines changed

src/test/pmempool_sync/TEST33

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,6 @@ expect_normal_exit $PMEMPOOL$EXESUFFIX create obj --layout pmempool$SUFFIX $POOL
3636

3737
expect_normal_exit "$OBJ_VERIFY$EXESUFFIX $POOLSET pmempool$SUFFIX c v &>> $LOG"
3838

39-
turn_on_checking_bad_blocks $POOLSET
40-
4139
# zero blocks: offset: 0 length: 250
4240
zero_blocks $DIR/testfile1 0 250
4341

src/test/pmempool_sync/TEST34

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,6 @@ create_recovery_file $DIR/testset1_r0_p1_badblocks.txt
5050
create_recovery_file $DIR/testset1_r0_p2_badblocks.txt
5151
create_recovery_file $DIR/testset1_r1_p0_badblocks.txt
5252

53-
turn_on_checking_bad_blocks $POOLSET
54-
5553
# fail because of recovery files
5654
expect_abnormal_exit "$OBJ_VERIFY$EXESUFFIX $POOLSET pmempool$SUFFIX v &>> $LOG"
5755

src/test/pmempool_sync/TEST35

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,6 @@ create_recovery_file $DIR/testset1_r0_p1_badblocks.txt 1000 250
5050
create_recovery_file $DIR/testset1_r0_p2_badblocks.txt
5151
create_recovery_file $DIR/testset1_r1_p0_badblocks.txt
5252

53-
turn_on_checking_bad_blocks $POOLSET
54-
5553
# fail because of recovery files
5654
expect_abnormal_exit "$OBJ_VERIFY$EXESUFFIX $POOLSET pmempool$SUFFIX v &>> $LOG"
5755

src/test/pmempool_sync/TEST36

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,6 @@ expect_normal_exit $PMEMPOOL$EXESUFFIX create obj --layout pmempool$SUFFIX $POOL
3939

4040
expect_normal_exit "$OBJ_VERIFY$EXESUFFIX $POOLSET pmempool$SUFFIX c v &>> $LOG"
4141

42-
turn_on_checking_bad_blocks $POOLSET
43-
4442
# zero blocks: offset: 1000 length: 250
4543
zero_blocks $DIR/testfile0 1000 250
4644

src/test/pmempool_sync/TEST37

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,6 @@ expect_normal_exit $PMEMPOOL$EXESUFFIX create obj --layout pmempool$SUFFIX $POOL
3939

4040
expect_normal_exit "$OBJ_VERIFY$EXESUFFIX $POOLSET pmempool$SUFFIX c v &>> $LOG"
4141

42-
turn_on_checking_bad_blocks $POOLSET
43-
4442
# zero blocks: offset: 125 length: 125
4543
zero_blocks $DIR/testfile1 125 125
4644

src/test/pmempool_sync/TEST43

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env bash
22
# SPDX-License-Identifier: BSD-3-Clause
33
# Copyright 2018-2024, Intel Corporation
4-
# Copyright 2025, Hewlett Packard Enterprise Development LP
4+
# Copyright 2025-2026, Hewlett Packard Enterprise Development LP
55
#
66
#
77
# pmempool_sync/TEST43 -- test for sync command with badblocks
@@ -56,8 +56,6 @@ create_recovery_file $DIR/testset1_r1_p0_badblocks.txt
5656
create_recovery_file $DIR/testset1_r1_p1_badblocks.txt 126 2
5757
create_recovery_file $DIR/testset1_r1_p2_badblocks.txt
5858

59-
turn_on_checking_bad_blocks $POOLSET
60-
6159
# fixing bad blocks should fail
6260
expect_abnormal_exit "$PMEMPOOL$EXESUFFIX sync -v -b $POOLSET &>> $LOG"
6361

src/test/pmempool_sync/TEST44

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env bash
22
# SPDX-License-Identifier: BSD-3-Clause
33
# Copyright 2018-2024, Intel Corporation
4-
# Copyright 2025, Hewlett Packard Enterprise Development LP
4+
# Copyright 2025-2026, Hewlett Packard Enterprise Development LP
55
#
66
#
77
# pmempool_sync/TEST44 -- test for sync command with badblocks
@@ -71,8 +71,6 @@ create_recovery_file $DIR/testset1_r2_p0_badblocks.txt 1000 1 1002 1
7171
create_recovery_file $DIR/testset1_r2_p1_badblocks.txt
7272
create_recovery_file $DIR/testset1_r2_p2_badblocks.txt
7373

74-
turn_on_checking_bad_blocks $POOLSET
75-
7674
# fail because of bad blocks
7775
expect_abnormal_exit "$OBJ_VERIFY$EXESUFFIX $POOLSET pmempool$SUFFIX v &>> $LOG"
7876

src/test/pmempool_sync/TEST45

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env bash
22
# SPDX-License-Identifier: BSD-3-Clause
33
# Copyright 2018-2024, Intel Corporation
4-
# Copyright 2025, Hewlett Packard Enterprise Development LP
4+
# Copyright 2025-2026, Hewlett Packard Enterprise Development LP
55
#
66
#
77
# pmempool_sync/TEST45 -- test for sync command with badblocks
@@ -69,8 +69,6 @@ create_recovery_file $DIR/testset1_r2_p0_badblocks.txt
6969
create_recovery_file $DIR/testset1_r2_p1_badblocks.txt 125 1 127 1
7070
create_recovery_file $DIR/testset1_r2_p2_badblocks.txt
7171

72-
turn_on_checking_bad_blocks $POOLSET
73-
7472
# fail because of bad blocks
7573
expect_abnormal_exit "$OBJ_VERIFY$EXESUFFIX $POOLSET pmempool$SUFFIX v &>> $LOG"
7674

src/test/pmempool_sync/TEST46

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env bash
22
# SPDX-License-Identifier: BSD-3-Clause
33
# Copyright 2018-2024, Intel Corporation
4-
# Copyright 2025, Hewlett Packard Enterprise Development LP
4+
# Copyright 2025-2026, Hewlett Packard Enterprise Development LP
55
#
66
#
77
# pmempool_sync/TEST46 -- test for sync command with badblocks
@@ -69,8 +69,6 @@ create_recovery_file $DIR/testset1_r2_p0_badblocks.txt
6969
create_recovery_file $DIR/testset1_r2_p1_badblocks.txt
7070
create_recovery_file $DIR/testset1_r2_p2_badblocks.txt 125 1 127 1
7171

72-
turn_on_checking_bad_blocks $POOLSET
73-
7472
# fail because of bad blocks
7573
expect_abnormal_exit "$OBJ_VERIFY$EXESUFFIX $POOLSET pmempool$SUFFIX v &>> $LOG"
7674

src/test/pmempool_sync/TEST47

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env bash
22
# SPDX-License-Identifier: BSD-3-Clause
33
# Copyright 2018-2024, Intel Corporation
4-
# Copyright 2025, Hewlett Packard Enterprise Development LP
4+
# Copyright 2025-2026, Hewlett Packard Enterprise Development LP
55
#
66
#
77
# pmempool_sync/TEST47 -- test for sync command with badblocks
@@ -72,8 +72,6 @@ create_recovery_file $DIR/testset1_r2_p0_badblocks.txt 1000 2
7272
create_recovery_file $DIR/testset1_r2_p1_badblocks.txt
7373
create_recovery_file $DIR/testset1_r2_p2_badblocks.txt 1000 2
7474

75-
turn_on_checking_bad_blocks $POOLSET
76-
7775
# fail because of bad blocks
7876
expect_abnormal_exit "$OBJ_VERIFY$EXESUFFIX $POOLSET pmempool$SUFFIX v &>> $LOG"
7977

0 commit comments

Comments
 (0)