]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Don't use the same UID for all test leases.
authorTed Lemon <source@isc.org>
Fri, 20 Apr 2001 14:55:46 +0000 (14:55 +0000)
committerTed Lemon <source@isc.org>
Fri, 20 Apr 2001 14:55:46 +0000 (14:55 +0000)
tests/failover/new-failover

index 51769859975c0107bba359ec029eaabcadfd204c..c43d87fbd02505a338f77d6734f7e9504003d7f4 100755 (executable)
@@ -4,23 +4,23 @@ foo=10
 while [ $foo -lt 100 ]; do
   cat >>dhcp-1.leases <<~
 lease 10.0.0.$foo {
-  starts 4 2001/04/16 02:19:16;
-  ends 5 2001/04/18 02:29:16;
+  starts 4 2001/04/19 02:19:16;
+  ends 5 2001/04/21 02:29:16;
   binding state active;
   next binding state free;
   hardware ethernet 08:00:46:06:6c:23;
-  uid "test-198";
+  uid "test-$foo";
 }
 ~
   foo=`expr $foo + 1`
   cat >>dhcp-2.leases <<~
 lease 10.0.0.$foo {
-  starts 4 2001/04/16 02:19:16;
-  ends 5 2001/04/18 02:29:16;
+  starts 4 2001/04/19 02:19:16;
+  ends 5 2001/04/21 02:29:16;
   binding state active;
   next binding state free;
   hardware ethernet 08:00:46:06:6c:23;
-  uid "test-198";
+  uid "test-$foo";
 }
 ~
   foo=`expr $foo + 1`