[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
how could I execute a set of script in a directoy tree?
From: |
龙海涛 |
Subject: |
how could I execute a set of script in a directoy tree? |
Date: |
Wed, 14 Nov 2007 13:38:01 +0800 |
i have a directory, like this
/testcase
/syntaxcheck
/test1
0 (common txt file)
0.expected (common txt file)
1
1.expected
...
autotest.sh (shell script)
/test2
0
0.expected
1
1.expected
...
autotest.sh
/test3
...
/testn
/semantic
/test1
0
0.expected
1
1.expected
...
autotest.sh
/test2
...
/testn
...
there are many autotest.sh in every leaf-directory(that is, no
sub-directory in this directory. e.g, testcase/syntaxcheck/test1).
when i want to execute a auototest.sh, i just came into a
leaf-directory,
and enter './autotest.sh' command, and all the testcases in this
leaf-directory will be examined.
but now what i want to do is write a shell script , call all the
autotest.sh in every leaf-directory.
is it possible or ridiculous?
- how could I execute a set of script in a directoy tree?,
龙海涛 <=