gnu: rsnapshot: Fix tests.

* gnu/packages/backup.scm (rsnapshot)[arguments]: Tweak substitution.
This commit is contained in:
Tobias Geerinckx-Rice 2021-07-17 19:21:07 +02:00
parent 550eca2a7b
commit 4b8ac04e2b
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -529,8 +529,8 @@ (define-public rsnapshot
(substitute* '("t/cmd-post_pre-exec/conf/pre-true-post-true.conf"
"t/backup_exec/conf/backup_exec_fail.conf"
"t/backup_exec/conf/backup_exec.conf")
(("/bin/true") (which "true"))
(("/bin/false") (which "false")))
(("/usr/bin/true") (which "true"))
(("/usr/bin/false") (which "false")))
;; Disable a test that tries to connect to localhost on port 22.
(delete-file "t/ssh_args/ssh_args.t.in")