mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-20 11:40:18 +02:00
tests: Remove symlink only when it exists.
* test-suite/tests/filesys.test: Delete (test-symlink) only if it exists---i.e., not on Windows. Reported by Eli Zaretskii <eliz@gnu.org>.
This commit is contained in:
parent
09fb52b6c9
commit
9f7914d39a
1 changed files with 2 additions and 1 deletions
|
@ -222,4 +222,5 @@
|
||||||
(throw 'unresolved)))))
|
(throw 'unresolved)))))
|
||||||
|
|
||||||
(delete-file (test-file))
|
(delete-file (test-file))
|
||||||
(delete-file (test-symlink))
|
(when (file-exists? (test-symlink))
|
||||||
|
(delete-file (test-symlink)))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue