mei_rt2mei_rt2_fix_1
Last change
on this file since 880e924 was
373bf68,
checked in by Mei <mei@…>, 12 years ago
|
1) add the scaling test suite
|
-
Property mode set to
100755
|
File size:
429 bytes
|
Rev | Line | |
---|
[373bf68] | 1 | #!/bin/sh |
---|
| 2 | |
---|
| 3 | |
---|
| 4 | noise=$1 |
---|
| 5 | |
---|
| 6 | rm -rf fruit_$noise |
---|
| 7 | mkdir fruit_$noise |
---|
| 8 | sed "s/#VAL#/$noise/" base/README > fruit_$noise/README |
---|
| 9 | cp base/RESULT fruit_$noise/fruit.save |
---|
| 10 | cp base/QUERY fruit_$noise/run_query |
---|
| 11 | cd fruit_$noise |
---|
| 12 | chmod +x README run_query |
---|
| 13 | ./README |
---|
| 14 | time env ABAC_CN=1 ./run_query 1>fruit.tmp 2> fruit.time |
---|
| 15 | result=`diff fruit.tmp fruit.save 2>/dev/null` |
---|
| 16 | if [ "$result" = "" ]; then |
---|
| 17 | echo " PASSED" |
---|
| 18 | else |
---|
| 19 | echo " ERROR" |
---|
| 20 | fi |
---|
| 21 | |
---|
| 22 | |
---|
Note: See
TracBrowser
for help on using the repository browser.