[Pkg-shadow-commits] r3496 - in debian/trunk/tests/log/faillog: 32_faillog-l 34_faillog-l-u_range 38_faillog-l-a-u_range 39_faillog-l-a-u_open_range 40_faillog-l-a-u_range_open
Nicolas FRANÇOIS
nekral-guest at alioth.debian.org
Fri Sep 23 17:42:26 UTC 2011
Author: nekral-guest
Date: 2011-09-23 17:42:26 +0000 (Fri, 23 Sep 2011)
New Revision: 3496
Modified:
debian/trunk/tests/log/faillog/32_faillog-l/faillog.test
debian/trunk/tests/log/faillog/34_faillog-l-u_range/faillog.test
debian/trunk/tests/log/faillog/38_faillog-l-a-u_range/faillog.test
debian/trunk/tests/log/faillog/39_faillog-l-a-u_open_range/faillog.test
debian/trunk/tests/log/faillog/40_faillog-l-a-u_range_open/faillog.test
Log:
Depending on the system's load, there can be some variability in the
elapsed time.
Modified: debian/trunk/tests/log/faillog/32_faillog-l/faillog.test
===================================================================
--- debian/trunk/tests/log/faillog/32_faillog-l/faillog.test 2011-09-23 17:36:45 UTC (rev 3495)
+++ debian/trunk/tests/log/faillog/32_faillog-l/faillog.test 2011-09-23 17:42:26 UTC (rev 3496)
@@ -48,8 +48,8 @@
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
Modified: debian/trunk/tests/log/faillog/34_faillog-l-u_range/faillog.test
===================================================================
--- debian/trunk/tests/log/faillog/34_faillog-l-u_range/faillog.test 2011-09-23 17:36:45 UTC (rev 3495)
+++ debian/trunk/tests/log/faillog/34_faillog-l-u_range/faillog.test 2011-09-23 17:42:26 UTC (rev 3496)
@@ -48,8 +48,8 @@
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
Modified: debian/trunk/tests/log/faillog/38_faillog-l-a-u_range/faillog.test
===================================================================
--- debian/trunk/tests/log/faillog/38_faillog-l-a-u_range/faillog.test 2011-09-23 17:36:45 UTC (rev 3495)
+++ debian/trunk/tests/log/faillog/38_faillog-l-a-u_range/faillog.test 2011-09-23 17:42:26 UTC (rev 3496)
@@ -58,8 +58,8 @@
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
Modified: debian/trunk/tests/log/faillog/39_faillog-l-a-u_open_range/faillog.test
===================================================================
--- debian/trunk/tests/log/faillog/39_faillog-l-a-u_open_range/faillog.test 2011-09-23 17:36:45 UTC (rev 3495)
+++ debian/trunk/tests/log/faillog/39_faillog-l-a-u_open_range/faillog.test 2011-09-23 17:42:26 UTC (rev 3496)
@@ -58,8 +58,8 @@
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
Modified: debian/trunk/tests/log/faillog/40_faillog-l-a-u_range_open/faillog.test
===================================================================
--- debian/trunk/tests/log/faillog/40_faillog-l-a-u_range_open/faillog.test 2011-09-23 17:36:45 UTC (rev 3495)
+++ debian/trunk/tests/log/faillog/40_faillog-l-a-u_range_open/faillog.test 2011-09-23 17:42:26 UTC (rev 3496)
@@ -61,8 +61,8 @@
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
More information about the Pkg-shadow-commits
mailing list