Skip to content

Commit c543512

Browse files
committed
Add 'set -eu' for test script robustness
1 parent f7ba1cb commit c543512

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

65 files changed

+66
-7
lines changed

tests/scripts/pulp_2to3_migration/test_plan.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#!/bin/bash
22

3+
set -eu
34
# shellcheck source=tests/scripts/config.source
45
. "$(dirname "$(dirname "$(realpath "$0")")")"/config.source
56

tests/scripts/pulp_2to3_migration/test_pulp2.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#!/bin/bash
22

3+
set -eu
34
# shellcheck source=tests/scripts/config.source
45
. "$(dirname "$(dirname "$(realpath "$0")")")"/config.source
56

tests/scripts/pulp_ansible/test_content.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#!/bin/bash
22

3+
set -eu
34
# shellcheck source=tests/scripts/config.source
45
. "$(dirname "$(dirname "$(realpath "$0")")")"/config.source
56

tests/scripts/pulp_ansible/test_distribution.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#!/bin/bash
22

3+
set -eu
34
# shellcheck source=tests/scripts/config.source
45
. "$(dirname "$(dirname "$(realpath "$0")")")"/config.source
56

tests/scripts/pulp_ansible/test_remote.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#!/bin/bash
22

3+
set -eu
34
# shellcheck source=tests/scripts/config.source
45
. "$(dirname "$(dirname "$(realpath "$0")")")"/config.source
56

tests/scripts/pulp_ansible/test_repository.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#!/bin/bash
22

3+
set -eu
34
# shellcheck source=tests/scripts/config.source
45
. "$(dirname "$(dirname "$(realpath "$0")")")"/config.source
56

tests/scripts/pulp_ansible/test_sign.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#!/bin/bash
22

3+
set -eu
34
# shellcheck source=tests/scripts/config.source
45
. "$(dirname "$(dirname "$(realpath "$0")")")"/config.source
56

tests/scripts/pulp_ansible/test_sync.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#!/bin/bash
22

3+
set -eu
34
# shellcheck source=tests/scripts/config.source
45
. "$(dirname "$(dirname "$(realpath "$0")")")"/config.source
56

tests/scripts/pulp_container/test_content.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#!/bin/bash
22

3+
set -eu
34
# shellcheck source=tests/scripts/config.source
45
. "$(dirname "$(dirname "$(realpath "$0")")")"/config.source
56

tests/scripts/pulp_container/test_copy.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#!/bin/bash
22

3+
set -eu
34
# shellcheck source=tests/scripts/config.source
45
. "$(dirname "$(dirname "$(realpath "$0")")")"/config.source
56

0 commit comments

Comments
 (0)