diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2023-02-23 06:08:04 +0100 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2023-04-10 22:58:54 +0200 |
commit | 3df2a2908ccb8904c3f5d1f40588a2bfd78152b2 (patch) | |
tree | 256ca007180d7d152fcb38f713daaf711662e150 /tests | |
parent | Change child/parent interface for vcomponent. (diff) | |
download | calp-3df2a2908ccb8904c3f5d1f40588a2bfd78152b2.tar.gz calp-3df2a2908ccb8904c3f5d1f40588a2bfd78152b2.tar.xz |
Fix guile3 deprecation notices.
Diffstat (limited to '')
-rw-r--r-- | tests/test/add-and-save.scm | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/test/add-and-save.scm b/tests/test/add-and-save.scm index fb3277bb..efbfe09e 100644 --- a/tests/test/add-and-save.scm +++ b/tests/test/add-and-save.scm @@ -71,14 +71,12 @@ #2021-12-21T11:45:00) )) -;; TODO tmpnam is deprecated -(define directory (tmpnam)) +(define directory (mkdtemp (string-copy"/tmp/guile-test-XXXXXX"))) +(format #t "Using ~a~%" directory) (define event-object ((@ (oop goops) make) (@@ (vcomponent util instance methods) <events>))) -(mkdir directory) -(format #t "Using ~a~%" directory) (define calendar (vcalendar |