gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [gnurl] 74/205: test1440/1: depend on well-defined file: be


From: gnunet
Subject: [GNUnet-SVN] [gnurl] 74/205: test1440/1: depend on well-defined file: behaviour
Date: Thu, 20 Apr 2017 16:20:14 +0200

This is an automated email from the git hooks/post-receive script.

ng0 pushed a commit to annotated tag gnurl-7.54.0
in repository gnurl.

commit db900ab7328706b7ad8ce18ea8c459ffcd7bb216
Author: Dan Fandrich <address@hidden>
AuthorDate: Sun Mar 12 23:23:31 2017 +0100

    test1440/1: depend on well-defined file: behaviour
    
    Depend on the known behaviour of URLs for nonexistent files rather than
    the undefined behaviour of URLs for directories (which fails on Windows).
    The test isn't about file: URLs at all, so the URL used doesn't really
    matter.
---
 tests/data/test1440 | 6 +++++-
 tests/data/test1441 | 6 +++++-
 2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/tests/data/test1440 b/tests/data/test1440
index 7ed0c4d5f..e87cafb08 100644
--- a/tests/data/test1440
+++ b/tests/data/test1440
@@ -2,6 +2,7 @@
 <info>
 <keywords>
 --write-out
+FILE
 </keywords>
 </info>
 # Server-side
@@ -18,12 +19,15 @@ file
 Check --write-out with trailing %{
 </name>
 <command>
-file://localhost/%PWD/log/ --write-out '%{'
+file://localhost/%PWD/log/non-existent-file.txt --write-out '%{'
 </command>
 </client>
 
 # Verify data
 <verify>
+<errorcode>
+37
+</errorcode>
 <stdout nonewline="yes">
 %{
 </stdout>
diff --git a/tests/data/test1441 b/tests/data/test1441
index 6e253a690..8d841df5d 100644
--- a/tests/data/test1441
+++ b/tests/data/test1441
@@ -2,6 +2,7 @@
 <info>
 <keywords>
 --write-out
+FILE
 </keywords>
 </info>
 # Server-side
@@ -18,12 +19,15 @@ file
 Check --write-out with trailing %
 </name>
 <command>
-file://localhost/%PWD/log/ --write-out '%'
+file://localhost/%PWD/log/non-existent-file.txt --write-out '%'
 </command>
 </client>
 
 # Verify data
 <verify>
+<errorcode>
+37
+</errorcode>
 <stdout nonewline="yes">
 %
 </stdout>

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

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