Skip to content

Commit c305c75

Browse files
authored
tests: do not run login step in security-logging when on core (#17083)
1 parent 378c477 commit c305c75

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

tests/main/security-logging/task.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,8 @@ execute: |
7474
7575
7676
# SPREAD_STORE_USER and SPREAD_STORE_PASSWORD are only available when running off master
77-
if [ -n "$SPREAD_STORE_USER" ] && [ -n "$SPREAD_STORE_PASSWORD" ]; then
77+
# core does not have expect, so skip core systems
78+
if [ -n "$SPREAD_STORE_USER" ] && [ -n "$SPREAD_STORE_PASSWORD" ] && os-query is-classic; then
7879
echo "Checking that a successful login produces an audit event"
7980
expect -d -f "$TESTSLIB"/successful_login.exp
8081

0 commit comments

Comments
 (0)