summaryrefslogtreecommitdiff
path: root/units/miscellanea
diff options
authorJeff Lane <jeffrey.lane@canonical.com>2020-08-25 10:11:04 -0400
committerJeff Lane <jeffrey.lane@canonical.com>2020-08-25 10:11:04 -0400
commitc114b301c1b06e1512b77564f2cd2c461104e129 (patch)
treeea392b6d65d971761f5a6f1c7416f4b263879070 /units/miscellanea
parent675b8dee57d7626ebea92cfb9eea5dc6a0be5965 (diff)
fixed minor issues in maas_user_check job, added job to miscellanea regression test plan as well.
Diffstat (limited to 'units/miscellanea')
-rw-r--r--units/miscellanea/jobs.pxu3
-rw-r--r--units/miscellanea/test-plan.pxu1
2 files changed, 2 insertions, 2 deletions
diff --git a/units/miscellanea/jobs.pxu b/units/miscellanea/jobs.pxu
index 6eccdfe..5d51176 100644
--- a/units/miscellanea/jobs.pxu
+++ b/units/miscellanea/jobs.pxu
@@ -482,12 +482,11 @@ estimated_duration: 0.5
user: root
command:
CHAN=0
- FOUND="false"
while [ $CHAN -le 15 ]; do
if ipmitool user list $CHAN 2>/dev/null |grep -E "maas.*ADMINISTRATOR"; then
break
fi
- let "CHAN+=1"
+ (( CHAN+=1 ))
done
_description:
This will verify that the maas user was successfully created with admin
diff --git a/units/miscellanea/test-plan.pxu b/units/miscellanea/test-plan.pxu
index f1809e0..6c2d582 100644
--- a/units/miscellanea/test-plan.pxu
+++ b/units/miscellanea/test-plan.pxu
@@ -94,4 +94,5 @@ mandatory_include:
miscellanea/ipmi_test certification-status=blocker
miscellanea/bmc_info
miscellanea/dmitest_server
+ miscellanea/maas_user_check
include: