source: examples/python_tests/basic_attribute/run_test @ b8a6fd2a

mei_rt2mei_rt2_fix_1
Last change on this file since b8a6fd2a was b8a6fd2a, checked in by Mei <mei@…>, 12 years ago

1) add new tests for attribute creation also for Attribute_chunk,

ID_chunk

  • Property mode set to 100755
File size: 446 bytes
Line 
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
11result=`diff attr.cn attr.save 2>/dev/null`
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.