Depending on the system's load, there can be some variability in the
elapsed time.
This commit is contained in:
@@ -48,8 +48,8 @@ echo -n "Check the list of users with failures..."
|
||||
cut -c-28 tmp/faillog.out > tmp/faillog.list
|
||||
diff -au data/faillog.list tmp/faillog.list
|
||||
echo "OK"
|
||||
echo "There should be 6 or 7 secondes remaining for baz..."
|
||||
grep "^baz .* \[[67]s left\]$" tmp/faillog.out
|
||||
echo "There should between 6 and 8 secondes remaining for baz..."
|
||||
grep "^baz .* \[[678]s left\]$" tmp/faillog.out
|
||||
echo "OK"
|
||||
echo "The lock is displayed as 10s for foo..."
|
||||
grep "^foo .* \[10s lock\]$" tmp/faillog.out
|
||||
|
||||
@@ -48,8 +48,8 @@ echo -n "Check the list of users with failures..."
|
||||
cut -c-28 tmp/faillog.out > tmp/faillog.list
|
||||
diff -au data/faillog.list tmp/faillog.list
|
||||
echo "OK"
|
||||
echo "There should be 3 or 4 secondes remaining for bar..."
|
||||
grep "^bar .* \[[34]s left\]$" tmp/faillog.out
|
||||
echo "There should be between 3 and 5 secondes remaining for bar..."
|
||||
grep "^bar .* \[[345]s left\]$" tmp/faillog.out
|
||||
echo "OK"
|
||||
echo "The lock is displayed as 10s for foo..."
|
||||
grep "^foo .* \[10s lock\]$" tmp/faillog.out
|
||||
|
||||
@@ -58,8 +58,8 @@ echo -n "Check the list of users with failures..."
|
||||
cut -c-28 tmp/faillog.out > tmp/faillog.list
|
||||
diff -au data/faillog.list tmp/faillog.list
|
||||
echo "OK"
|
||||
echo "There should be 3 or 4 secondes remaining for bar..."
|
||||
grep "^bar .* \[[34]s left\]$" tmp/faillog.out
|
||||
echo "There should be between 2 and 4 secondes remaining for bar..."
|
||||
grep "^bar .* \[[2-4]s left\]$" tmp/faillog.out
|
||||
echo "OK"
|
||||
echo "The lock is displayed as 10s for foo..."
|
||||
grep "^foo .* \[10s lock\]$" tmp/faillog.out
|
||||
|
||||
@@ -58,8 +58,8 @@ echo -n "Check the list of users with failures..."
|
||||
cut -c-28 tmp/faillog.out > tmp/faillog.list
|
||||
diff -au data/faillog.list tmp/faillog.list
|
||||
echo "OK"
|
||||
echo "There should be 3 or 4 secondes remaining for bar..."
|
||||
grep "^bar .* \[[34]s left\]$" tmp/faillog.out
|
||||
echo "There should be between 2 and 4 secondes remaining for bar..."
|
||||
grep "^bar .* \[[234]s left\]$" tmp/faillog.out
|
||||
echo "OK"
|
||||
echo "The lock is displayed as 10s for foo..."
|
||||
grep "^foo .* \[10s lock\]$" tmp/faillog.out
|
||||
|
||||
@@ -61,8 +61,8 @@ echo "OK"
|
||||
echo "There should be 6 or 7 secondes remaining for baz..."
|
||||
grep "^baz .* \[[67]s left\]$" tmp/faillog.out
|
||||
echo "OK"
|
||||
echo "There should be 3 or 4 secondes remaining for bar..."
|
||||
grep "^bar .* \[[34]s left\]$" tmp/faillog.out
|
||||
echo "There should be between 2 and 4 secondes remaining for bar..."
|
||||
grep "^bar .* \[[2-4]s left\]$" tmp/faillog.out
|
||||
echo "OK."
|
||||
|
||||
rm -f tmp/faillog.out tmp/faillog.list
|
||||
|
||||
Reference in New Issue
Block a user