Skip to content

Commit 1e5378e

Browse files
committed
auth tests: Skip both stdbba and plans if marked disabled
Previously the skip assumed the config simply wasn't found and that meant other plans (yaml) likely didn't exist. Now specifically checks if config.disabled exists and skips to next target (properly). Signed-off-by: kingthorin <[email protected]>
1 parent ceaf481 commit 1e5378e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scans/auth/auth_plan_tests.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ for TARGET in *
8989
do
9090
if [ -d "$TARGET" ]
9191
then
92-
if [ -f "config.disabled" ]
92+
if [ -f "$TARGET/config.disabled" ]
9393
then
9494
echo "Skipping $TARGET it has been disabled"
9595
continue

0 commit comments

Comments
 (0)