[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Guile-commits] 02/13: for socket test, don't presume TMP is usable
From: |
Mike Gran |
Subject: |
[Guile-commits] 02/13: for socket test, don't presume TMP is usable |
Date: |
Thu, 21 Jan 2021 19:06:14 -0500 (EST) |
mike121 pushed a commit to branch master
in repository guile.
commit 50da05835a70daa36f74b23fe3a12d18d0cb6691
Author: Michael Gran <spk121@yahoo.com>
AuthorDate: Mon Nov 23 19:53:38 2020 -0800
for socket test, don't presume TMP is usable
* test-suite/tests/00-socket.test: don't abort when unable to change
into tmpdir
---
test-suite/tests/00-socket.test | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/test-suite/tests/00-socket.test b/test-suite/tests/00-socket.test
index 7f55ade..3657628 100644
--- a/test-suite/tests/00-socket.test
+++ b/test-suite/tests/00-socket.test
@@ -1,7 +1,7 @@
;;;; 00-socket.test --- test socket functions -*- scheme -*-
;;;;
;;;; Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010,
-;;;; 2011, 2012, 2013, 2014, 2017 Free Software Foundation, Inc.
+;;;; 2011, 2012, 2013, 2014, 2017, 2021 Free Software Foundation, Inc.
;;;;
;;;; This library is free software; you can redistribute it and/or
;;;; modify it under the terms of the GNU Lesser General Public
@@ -153,7 +153,7 @@
;; "unix address path too long: ~A"
;;
("/tmp/nix-build-fb7bph4ifh0vr3ihigm702dzffdnapfj-guile-coverage-1.9.5.drv-0/guile-test-socket-1258553296-77619")
;; #f)
-(chdir %tmpdir)
+(false-if-exception (chdir %tmpdir))
(define (temp-file-path)
;; Return a temporary file name, assuming the current directory is %TMPDIR.
- [Guile-commits] branch master updated (1a6eaba -> 91d4d31), Mike Gran, 2021/01/21
- [Guile-commits] 02/13: for socket test, don't presume TMP is usable,
Mike Gran <=
- [Guile-commits] 01/13: encoding test tries to delete a file that is not closed, Mike Gran, 2021/01/21
- [Guile-commits] 04/13: in command line encoding test don't presume extant UTF-8 locale, Mike Gran, 2021/01/21
- [Guile-commits] 03/13: skip compile test when pause not available, Mike Gran, 2021/01/21
- [Guile-commits] 06/13: test-foreign-object-c should link libgnu, Mike Gran, 2021/01/21
- [Guile-commits] 05/13: for dynamic-link tests, mingw needs to link to msvcrt, Mike Gran, 2021/01/21
- [Guile-commits] 07/13: missing includes for list.h, Mike Gran, 2021/01/21
- [Guile-commits] 08/13: Need Guile and Windows types for the declarations posix-w32, Mike Gran, 2021/01/21
- [Guile-commits] 09/13: in null threads, don't define sigmask stub when pthread_sigmask does not exist, Mike Gran, 2021/01/21
- [Guile-commits] 11/13: standalone tests require libgnu on DLL-based platforms, Mike Gran, 2021/01/21
- [Guile-commits] 12/13: avoid a ports test when fcntl is not provided, Mike Gran, 2021/01/21