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?