1.1 --- a/tests/test_resource_invitation_constraints_quota_delegation.sh Sat May 14 00:55:51 2016 +0200
1.2 +++ b/tests/test_resource_invitation_constraints_quota_delegation.sh Sat May 14 00:56:54 2016 +0200
1.3 @@ -13,6 +13,14 @@
1.4 QUOTA=cars
1.5 OTHER_QUOTA=rooms
1.6
1.7 +# Test delegation using the default "available" policy, preferring the recipient
1.8 +# over other available delegates. The schedule_in_freebusy function is also used
1.9 +# to insist that the resources can schedule any reservation.
1.10 +
1.11 +# The result should be the reservation of USER1, then an attempt to reserve
1.12 +# USER1 again should be delegated to USER2, with USER2 being available in the
1.13 +# requested period. This delegation should then succeed.
1.14 +
1.15 mkdir -p "$PREFS/$USER1"
1.16 echo 'Europe/Oslo' > "$PREFS/$USER1/TZID"
1.17 echo 'share' > "$PREFS/$USER1/freebusy_sharing"