Hi,there
 
You can write it with shell script:)
The current version will use below language;
-Framework->Ruby
-Test program ->C
-Compare program->shell
The language after v0.9 will be discussed in the future.
 
Regards.
 
Hao Kong - BSTQC
-----邮件原件-----
发件人: crackerjack-devel-bounces@lists.sourceforge.net [mailto:crackerjack-devel-bounces@lists.sourceforge.net] 代表 胡昌军
发送时间: 2007年1月9日 21:38
收件人: crackerjack-devel@lists.sourceforge.net
主题: [Crackerjack-devel] I have a question about the compare program

Hi all:

Recently I study how to write a “compare” program for  the testcase of a system call, I found a example about “compare” program under the directory “ /crackerjack/testcases/system_A “.

the content of the “compare” as follow:

#!/bin/sh

diff –u $1 $2

I also found the “compare” program under the directory “/crackerjack/testcases/nanosleep” ,the compare program was writed by ruby , and it is more complex  than the above .

My question is that :

     When we write the compare program, we should use shell script or ruby?

If we write every compare program by shell script , every compare program is only like the above first example , it contains a command “diff –u $1 $2” , is ok ?

 

Hu changjun

Wish best.