[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] [SCM] Gnash branch, master, updated. release_0_8_9_final-
From: |
Sandro Santilli |
Subject: |
[Gnash-commit] [SCM] Gnash branch, master, updated. release_0_8_9_final-1843-ga42ac2b |
Date: |
Fri, 17 Jan 2014 15:33:36 +0000 |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnash".
The branch, master has been updated
via a42ac2b7c700f18be5e14fb1ccc14b30bf80ca81 (commit)
from 1aa88e95af9e583f2ee116fadb60e1eba8bbe7a2 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit//commit/?id=a42ac2b7c700f18be5e14fb1ccc14b30bf80ca81
commit a42ac2b7c700f18be5e14fb1ccc14b30bf80ca81
Author: Sandro Santilli <address@hidden>
Date: Fri Jan 17 16:32:35 2014 +0100
Use an harder-to-clash name for fileio test file, test "unlink"
diff --git a/extensions/fileio/test.as b/extensions/fileio/test.as
index e4db955..770b623 100644
--- a/extensions/fileio/test.as
+++ b/extensions/fileio/test.as
@@ -24,8 +24,9 @@ file = new FileIO();
// test stdio first
buf = "Hello World!\n";
+fname = "/tmp/gnash_fileio_ext_test";
-if (file.fopen("/tmp/x", "w+")) {
+if (file.fopen(fname, "w+")) {
pass("FileIO::open()");
} else {
fail("FileIO::open()");
@@ -111,5 +112,11 @@ if (file.puts(buf)) {
// }
//trace(b);
+var ret = file.unlink(fname);
+if ( true === ret ) {
+ pass("FileIO::unlink()");
+} else {
+ fail("FileIO::unlink(" + fname + ") returned " + ret);
+}
totals();
-----------------------------------------------------------------------
Summary of changes:
extensions/fileio/test.as | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
hooks/post-receive
--
Gnash
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] [SCM] Gnash branch, master, updated. release_0_8_9_final-1843-ga42ac2b,
Sandro Santilli <=