mei_rt2mei_rt2_fix_1
Last change
on this file since 519e487 was
373bf68,
checked in by Mei <mei@…>, 12 years ago
|
1) add the scaling test suite
|
-
Property mode set to
100644
|
File size:
972 bytes
|
Rev | Line | |
---|
[373bf68] | 1 | #!/bin/sh |
---|
| 2 | # |
---|
| 3 | # This demonstrates scalability of libabac. The fruit_rt2 test from |
---|
| 4 | # python_tests is use as the base. |
---|
| 5 | # #VAL# simple attribute credentials are added, |
---|
| 6 | # #VAL# complex attribute credentials along |
---|
| 7 | # with #VAL# different principal ids are added. |
---|
| 8 | # The same queries used in fruit_rt2 are run against this setup and |
---|
| 9 | # should yield the same result |
---|
| 10 | |
---|
| 11 | # fruits_rt2 |
---|
| 12 | |
---|
| 13 | # Credential 1 |
---|
| 14 | # [keyid:mary].oset:what2eat |
---|
| 15 | # <- [keyid:ralphs].oset:fruitprice([float:?P:[..2.00]]) |
---|
| 16 | |
---|
| 17 | # Credential 2 |
---|
| 18 | # [keyid:bob].oset:what2eat |
---|
| 19 | # <- [keyid:ralphs].oset:fruitprice([float:?P:[1.00..5.00]]) |
---|
| 20 | |
---|
| 21 | # Credential 3 |
---|
| 22 | # [keyid:ralphs].oset:fruitprice([float:1.50]) <- [string:'apple'] |
---|
| 23 | |
---|
| 24 | # Credential 4 |
---|
| 25 | # [keyid:ralphs].oset:fruitprice([float:1.50]) <- [string:'kiwi'] |
---|
| 26 | |
---|
| 27 | # Credential 5 |
---|
| 28 | # [keyid:ralphs].oset:fruitprice([float:2.50]) <- [string:'black rasberry'] |
---|
| 29 | |
---|
| 30 | # Credential 6 |
---|
| 31 | # [keyid:ralphs].oset:fruitprice([float:0.50]) <- [string:'navel orange'] |
---|
| 32 | |
---|
| 33 | |
---|
| 34 | |
---|
| 35 | |
---|
Note: See
TracBrowser
for help on using the repository browser.