From 340f9b9fa0bdbe65c570b57504d39ff30fc1dd4a Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Fri, 10 Feb 2017 23:16:46 +0100 Subject: gnu: librstp: Allow tests to run. Fixes . Reported by Maxim Cournoyer . Before that, the sender process in test/rtpw_test.sh would try to read words from the parent directory, and thus it would return almost immediately (as if it had read an empty file, no error). * gnu/packages/telephony.scm (libsrtp)[inputs]: Add PSMISC. [arguments]: In 'patch-dictionary-location' phase, set the name of the 'FAQ' file rather than the name of its parent directory. --- gnu/packages/telephony.scm | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/gnu/packages/telephony.scm b/gnu/packages/telephony.scm index c393caace8..b0cefe4056 100644 --- a/gnu/packages/telephony.scm +++ b/gnu/packages/telephony.scm @@ -215,7 +215,8 @@ internet.") (base32 "1w2g623qkd7gdyydglx2hr4s2y237lg0nszjmy7z8d2iq8hvb9sn")))) (native-inputs - `(("procps" ,procps))) + `(("psmisc" ,psmisc) ;some tests require 'killall' + ("procps" ,procps))) (build-system gnu-build-system) (arguments '(#:test-target "runtest" @@ -234,8 +235,8 @@ internet.") (substitute* "test/rtpw.c" (("/usr/share/dict/words") (string-append (assoc-ref %build-inputs "procps") - "/share/doc/procps-ng")) - (("words.txt") "FAQ")) + "/share/doc/procps-ng/FAQ")) + (("words.txt") "FAQ")) #t))))) (synopsis "Secure RTP (SRTP) Reference Implementation") (description "This package provides an implementation of the Secure -- cgit v1.2.3