projects
/
profile
/
ivi
/
rygel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c728e59
)
test: Remove temporary file on start-up
author
Jens Georg
<mail@jensge.org>
Wed, 19 Oct 2011 08:00:16 +0000
(10:00 +0200)
committer
Jens Georg
<mail@jensge.org>
Wed, 19 Oct 2011 08:00:16 +0000
(10:00 +0200)
tests/rygel-http-post-test.vala
patch
|
blob
|
history
diff --git
a/tests/rygel-http-post-test.vala
b/tests/rygel-http-post-test.vala
index
998204b
..
985ff1d
100644
(file)
--- a/
tests/rygel-http-post-test.vala
+++ b/
tests/rygel-http-post-test.vala
@@
-64,6
+64,9
@@
public class Rygel.HTTPPostTest : GLib.Object {
}
public virtual void run () throws Error {
+ // cleanup
+ var file = File.new_for_uri (MediaItem.URI);
+ FileUtils.remove (file.get_path ());
Timeout.add_seconds (3, this.on_timeout);
this.server.message_received.connect (this.on_message_received);
this.client.completed.connect (this.on_client_completed);