gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] /srv/bzr/gnash/rtmp r9901: get rid of the temp directory


From: rob
Subject: [Gnash-commit] /srv/bzr/gnash/rtmp r9901: get rid of the temp directory from wget.
Date: Thu, 25 Dec 2008 15:49:37 -0700
User-agent: Bazaar (1.5)

------------------------------------------------------------
revno: 9901
committer: address@hidden
branch nick: rtmp
timestamp: Thu 2008-12-25 15:49:37 -0700
message:
  get rid of the temp directory from wget.
modified:
  cygnal/testsuite/cygnal.exp
=== modified file 'cygnal/testsuite/cygnal.exp'
--- a/cygnal/testsuite/cygnal.exp       2008-12-25 22:41:53 +0000
+++ b/cygnal/testsuite/cygnal.exp       2008-12-25 22:49:37 +0000
@@ -39,11 +39,15 @@
 set server_dead false; # toggle is Cygnal dies
 
 proc delete_files {} {
+    global chost
+    global cport
+
     # Get rid of old temp files created by testing,
     if {[file exists foo]} {
-       set junk [glob foo* wget-log* amf0*  *.bin* gateway*  localhost:*]
+       set junk [glob foo* wget-log* amf0*  *.bin* gateway* $chost:$cport]
+       puts "$junk"
        if { $junk != "" } {
-           catch "exec rm -f $junk"
+           catch "exec rm -fr $junk"
        }
     }
 }
@@ -238,11 +242,11 @@
 #    set pid [exp_pid -i $sid]
     expect -timeout 1 {
        -i $sid "*Server bound to service" {
-           verbose "Cygnal \"$server -p 4000 -vv -n\" bound to port"
+           verbose "Cygnal \"$server -vv -n\" bound to port"
            set result true
        }
        -i $sid "*Starting*" {
-           verbose "Started Cygnal \"$server -p 4000 -vv -n\""
+           verbose "Started Cygnal \"$server -vv -n\""
            set result true
        }
        -i $sid "File * transferred" {
@@ -384,7 +388,6 @@
 set requests  [glob -nocomplain $binsdir/*-request.bin]
 set responses [glob -nocomplain $binsdir/*-response.bin]
 
-delete_files
 # test with the Red5 echo tests
 foreach i $requests {
     set pos [string last  "/" $i]
@@ -416,6 +419,7 @@
     }
 }
 
+delete_files
 
 #############################################################
 # Stop the server, we're done. As the server doesn't die when a connection is


reply via email to

[Prev in Thread] Current Thread [Next in Thread]