mei_rt2mei_rt2_fix_1
Last change
on this file since 20eaefe was
05acf45,
checked in by Mei <mei@…>, 12 years ago
|
1) make diff skip that "Restoring file" output line that appears when
yap is in malloc mode
|
-
Property mode set to
100755
|
File size:
466 bytes
|
Rev | Line | |
---|
[b8a6fd2a] | 1 | #!/bin/sh |
---|
| 2 | |
---|
| 3 | g_cmd_cn=`grep "cmd1:" attr.py |sed "s/cmd1://g" ` |
---|
| 4 | |
---|
| 5 | echo '---setup principals' |
---|
| 6 | ./setup.py 1>attr.log 2>&1 |
---|
| 7 | |
---|
| 8 | echo '---run command ' |
---|
| 9 | eval $g_cmd_cn 1>attr.cn 2>&1 |
---|
| 10 | |
---|
[05acf45] | 11 | result=`diff -I "Restoring file" attr.cn attr.save 2>/dev/null` |
---|
[b8a6fd2a] | 12 | if [ $? -eq 0 ]; then |
---|
| 13 | if [ "$result" = "" ]; then |
---|
| 14 | echo " PASSED" |
---|
| 15 | else |
---|
| 16 | echo " ERROR:basic_attribute test result differs!!!" |
---|
| 17 | fi |
---|
| 18 | else |
---|
| 19 | echo " ERROR:basic_attribute test result differs!!!" |
---|
| 20 | fi |
---|
| 21 | |
---|
| 22 | |
---|
| 23 | |
---|
| 24 | |
---|
| 25 | |
---|
| 26 | |
---|
Note: See
TracBrowser
for help on using the repository browser.