1.1 --- a/tests/test_resource_invitation_constraints_quota_delegation_policy.sh Sat May 14 00:55:51 2016 +0200
1.2 +++ b/tests/test_resource_invitation_constraints_quota_delegation_policy.sh Sat May 14 00:56:54 2016 +0200
1.3 @@ -13,6 +13,15 @@
1.4 QUOTA=cars
1.5 OTHER_QUOTA=rooms
1.6
1.7 +# Test delegation using the "most-available" policy and without using the
1.8 +# explicit schedule_in_freebusy function since multiple concurrent reservations
1.9 +# are to occur without any limits.
1.10 +
1.11 +# The result should be the reservation of USER1, then the reservation of both
1.12 +# USER1 and USER2, followed by an attempt to reserve USER1 that results in the
1.13 +# delegation to USER2 because USER2 is less committed (more available) during
1.14 +# the period concerned.
1.15 +
1.16 mkdir -p "$PREFS/$USER1"
1.17 echo 'Europe/Oslo' > "$PREFS/$USER1/TZID"
1.18 echo 'share' > "$PREFS/$USER1/freebusy_sharing"