Skip to content

Commit

Permalink
coreutils: Patch benign test case failing with musl.
Browse files Browse the repository at this point in the history
  • Loading branch information
nh2 committed May 13, 2019
1 parent 89b1a5c commit 3bf3f18
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions pkgs/tools/misc/coreutils/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,13 @@ stdenv.mkDerivation rec {
echo "int main() { return 77; }" > gnulib-tests/test-parse-datetime.c
echo "int main() { return 77; }" > gnulib-tests/test-getlogin.c
''
# musl handles invalid times different than glibc, and coreutils has
# glibc's result in a test case for comparison, see:
# https://lists.gnu.org/archive/html/coreutils/2019-05/msg00031.html
''
substituteInPlace ./tests/misc/date-debug.sh \
--replace '2006-04-02 03:30:00' '2006-04-02 01:30:00'
''
]);

outputs = [ "out" "info" ];
Expand Down

0 comments on commit 3bf3f18

Please sign in to comment.