OSDN Git Service

2002-01-08 Ben Elliston <bje@redhat.com>
authorbje <bje>
Tue, 8 Jan 2002 01:24:56 +0000 (01:24 +0000)
committerbje <bje>
Tue, 8 Jan 2002 01:24:56 +0000 (01:24 +0000)
* lib/monkey.exp (monkey_stop): Delete monkey.conf on success.

sid/component/testsuite/ChangeLog
sid/component/testsuite/lib/monkey.exp

index 2616af0..284fea0 100644 (file)
@@ -1,3 +1,7 @@
+2002-01-08  Ben Elliston  <bje@redhat.com>
+
+       * lib/monkey.exp (monkey_stop): Delete monkey.conf on success.
+
 2001-12-11  Ben Elliston  <bje@redhat.com>
 
        * lib/cpudefs.exp (run-one-sid-test): Delete object code if the
index c1f7d78..7aaae5f 100644 (file)
@@ -183,7 +183,12 @@ proc monkey_start {type sym lib} {
 }
 
 proc monkey_stop {} {
+    global exit_status
+
     sid_stop
+    # zap temp file if tests were successful 
+    global exit_status
+    if {$exit_status == "0"} then { file delete "monkey.conf" }
 }