OSDN Git Service

* tests/lha-test.in: should exit in trap. exit status will be
authorarai <arai@6a8cc165-1e22-0410-a132-eb4e3f353aba>
Mon, 21 Jul 2003 07:46:24 +0000 (07:46 +0000)
committerarai <arai@6a8cc165-1e22-0410-a132-eb4e3f353aba>
Mon, 21 Jul 2003 07:46:24 +0000 (07:46 +0000)
inherited on bash, ash and pdksh (but not zsh, Hmm..)

git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@728 6a8cc165-1e22-0410-a132-eb4e3f353aba

tests/lha-test.in

index 126a08e..ed383c2 100644 (file)
@@ -4,7 +4,7 @@
 : ${lha=$(cd $lha_dir && pwd)/lha}
 : ${srcdir=@srcdir@}
 
-trap "rm -rf test-*" 0 1 2 3 15
+trap "rm -rf test-*; exit" 0 1 2 3 15
 
 typeset -i test_number=0 error_num=0
 error_tests=""