Hi all, I was puzzled while I was running the batch file "ooo_releasetests.sh" in linux. I'm not familar with linux batch file.
my_dir=`dirname "$0"` "$my_dir/run_tests.sh" < "$my_dir/../ooo_releasetests.lst" The first line seems to assign the path name of the run_test.sh located to the variable my_dir. and the 2nd line seems to input the list file in the parent directory to the "run_tests.sh" batch file. I replace the word dirname with the dirctory "/qa/qatestool/script/unix". the following messages are given: /qa/qatesttool/script/unix: is a directory. /../ooo_releasetests.lst: no such file or directory. why this? And what does the "$0" mean? thanks a lot. Best regards, Lihua 2008-06-26
