[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] 09/12: increasingly windows robustness of tests
From: |
Eric Schulte |
Subject: |
[elpa] 09/12: increasingly windows robustness of tests |
Date: |
Wed, 07 May 2014 03:11:00 +0000 |
eschulte pushed a commit to branch master
in repository elpa.
commit 25881c30cb49dd3c5792ad36da0853b1a89220ae
Author: Eric Schulte <address@hidden>
Date: Fri May 2 16:16:31 2014 -0600
increasingly windows robustness of tests
---
web-server-test.el | 11 ++++++++---
1 files changed, 8 insertions(+), 3 deletions(-)
diff --git a/web-server-test.el b/web-server-test.el
index a11093c..78c6efc 100644
--- a/web-server-test.el
+++ b/web-server-test.el
@@ -31,11 +31,11 @@
(format "curl -s -m 4 %s %s %s localhost:%s/%s"
(or curl-flags "")
(if get-params
- (mapconcat (lambda (p) (format "-d '%s=%s'" (car p) (cdr p)))
+ (mapconcat (lambda (p) (format "-d \"%s=%s\"" (car p) (cdr p)))
get-params " ")
"")
(if post-params
- (mapconcat (lambda (p) (format "-F '%s=%s'" (car p) (cdr p)))
+ (mapconcat (lambda (p) (format "-F \"%s=%s\"" (car p) (cdr p)))
post-params " ")
"")
ws-test-port url))
@@ -198,11 +198,16 @@
org=-+one%0A-+two%0A-+three%0A-+four%0A%0A&beg=646&end=667&path=%2Fcomplex.org")
(mapc (lambda (pair)
(let ((should-or-not (car pair))
(dir (cdr pair)))
+ (message "dir: %S" dir)
(should
(funcall (if should-or-not #'identity #'not)
(ws-in-directory-p temporary-file-directory dir)))))
`((nil . "foo/bar/../../../")
- (t . ,(concat "foo/bar/../../../" temporary-file-directory "/baz"))
+ (t . ,(concat
+ "foo/bar/../../../"
+ (file-name-nondirectory
+ (directory-file-name temporary-file-directory))
+ "/baz"))
(t . "./")
(nil . "/~/pics")
(nil . "~/pics")
- [elpa] branch master updated (2d2431c -> 37fc443), Eric Schulte, 2014/05/06
- [elpa] 02/12: ws-in-directory-p parent should be expanded, Eric Schulte, 2014/05/06
- [elpa] 08/12: don't assume temporary file directory name, Eric Schulte, 2014/05/06
- [elpa] 03/12: Corrected example in ws-start docstring, Eric Schulte, 2014/05/06
- [elpa] 04/12: Merge pull request #3 from thesoftwarebin/master, Eric Schulte, 2014/05/06
- [elpa] 05/12: remove coding conversion from main network process, Eric Schulte, 2014/05/06
- [elpa] 06/12: pass the silent flag to curl for all request types, Eric Schulte, 2014/05/06
- [elpa] 09/12: increasingly windows robustness of tests,
Eric Schulte <=
- [elpa] 07/12: TODO pass all tests on Windows [0/2], Eric Schulte, 2014/05/06
- [elpa] 10/12: passing all tests on Windows, Eric Schulte, 2014/05/06
- [elpa] 12/12: Merge commit 'aecfbcbc10cf03ec94062ac3e590f8118e5a0434', Eric Schulte, 2014/05/06
- [elpa] 01/12: Fix up copyright headers., Eric Schulte, 2014/05/06
- [elpa] 11/12: bump version to 0.1.1, Eric Schulte, 2014/05/06