Skip to content

Commit f46dcd0

Browse files
committed
Add 'set -eu' to tests for robustness
Applied the following script: sed -i -e '2a set -eu' tests/scripts/*/test_*.sh
1 parent 3cea886 commit f46dcd0

File tree

6 files changed

+6
-0
lines changed

6 files changed

+6
-0
lines changed

tests/scripts/pulp_gem/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_gem/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_gem/test_publication.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_gem/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_gem/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_gem/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

0 commit comments

Comments
 (0)