Skip to content

Commit

Permalink
resolve test issues
Browse files Browse the repository at this point in the history
  • Loading branch information
pcd1193182 committed Aug 22, 2019
1 parent f8b5ce4 commit c8750e0
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -55,11 +55,12 @@ while [[ $i -lt "${#properties[@]}" ]]; do
log_fail "${properties[$i]} not seen in output"
fi

typeset v=$(grep "${properties[$i]}" /tmp/value.$$ | $AWK '{print $3}')
typeset v=$(grep "${properties[$i]}" /tmp/value.$$ | awk '{print $3}')

log_note "${properties[$i]} has a value of $v"

# Determine if this value is a valid number, result in return code
log_must test -n "$v"
expr $v + 0 >/dev/null 2>&1

# All properties must be positive integers in order to be
Expand Down

0 comments on commit c8750e0

Please sign in to comment.