Skip to content
This repository has been archived by the owner on Jan 9, 2019. It is now read-only.

Commit

Permalink
tweaked test file
Browse files Browse the repository at this point in the history
  • Loading branch information
Marco Maggi committed Jun 15, 2017
1 parent 08aaf9e commit 483ba3a
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions tests/test-vicare-posix-basic.sps
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
;;;
;;;
;;;
;;;Copyright (c) 2010-2015 Marco Maggi <marco.maggi-ipsu@poste.it>
;;;Copyright (c) 2010-2015, 2017 Marco Maggi <marco.maggi-ipsu@poste.it>
;;;
;;;This program is free software: you can redistribute it and/or modify
;;;it under the terms of the GNU General Public License as published by
Expand Down Expand Up @@ -2289,8 +2289,11 @@
=> "/bin/ls"))
(else
(check ;first char is slash
(px.find-executable-as-string "/usr/bin/ls")
=> "/usr/bin/ls")))
(or (let ((X (px.find-executable-as-string "/usr/bin/ls")))
(and X (string=? X "/usr/bin/ls")))
(let ((X (px.find-executable-as-string "/bin/ls")))
(and X (string=? X "/bin/ls"))))
=> #t)))

(check
(string? (px.find-executable-as-string "ls"))
Expand Down

0 comments on commit 483ba3a

Please sign in to comment.