3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #50461 from mayflower/at-tests

at: run tests
This commit is contained in:
Renaud 2018-11-16 20:03:55 +01:00 committed by GitHub
commit 21ca2be9fb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,4 @@
{ stdenv, fetchurl, fetchpatch, bison, flex, pam
{ stdenv, fetchurl, fetchpatch, bison, flex, pam, perl
, sendmailPath ? "/run/wrappers/bin/sendmail"
, atWrapperPath ? "/run/wrappers/bin/at"
}:
@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
})
];
nativeBuildInputs = [ bison flex ];
nativeBuildInputs = [ bison flex perl /* for `prove` (tests) */ ];
buildInputs = [ pam ];
@ -41,7 +41,7 @@ stdenv.mkDerivation rec {
"--with-daemon_groupname=atd"
];
doCheck = false; # need "prove" tool
doCheck = true;
# Ensure that "batch" can invoke the setuid "at" wrapper, if it exists, or
# else we get permission errors (on NixOS). "batch" is a shell script, so