source: examples/python_tests/basic_attribute/run_test @ 20eaefe

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
RevLine 
[b8a6fd2a]1#!/bin/sh
2
3g_cmd_cn=`grep "cmd1:" attr.py |sed "s/cmd1://g" `
4
5echo '---setup principals'
6./setup.py 1>attr.log 2>&1
7
8echo '---run command '
9eval $g_cmd_cn 1>attr.cn 2>&1
10
[05acf45]11result=`diff -I "Restoring file" attr.cn attr.save 2>/dev/null`
[b8a6fd2a]12if [ $? -eq 0 ]; then
13    if [ "$result" = "" ]; then
14       echo "   PASSED"
15    else
16       echo "   ERROR:basic_attribute test result differs!!!"
17    fi
18else
19    echo "   ERROR:basic_attribute test result differs!!!"
20fi
21
22
23
24
25
26
Note: See TracBrowser for help on using the repository browser.