chicken-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-hackers] [PATCH] fix for chicken.process-context.posix identifi


From: Kristian Lein-Mathisen
Subject: [Chicken-hackers] [PATCH] fix for chicken.process-context.posix identifiers
Date: Thu, 3 May 2018 15:13:49 +0200


Hi,

These tests fail without this patch.

    (import (chicken process-context posix))

    (assert (procedure? change-directory*)) ;; improve this test?
    (assert (procedure? set-root-directory!)) ;; improve this too?
    (assert (procedure? create-session)) ;; improve this too?
    (assert (fixnum? (current-effective-group-id)))
    (assert (fixnum? (current-user-id)))
    (assert (fixnum? (current-group-id)))
    (assert (fixnum? (current-process-id)))
    (assert (fixnum? (current-user-id)))
    (assert (fixnum? (parent-process-id)))
    (assert (string? (current-user-name)))
    (assert (string? (current-effective-user-name)))
    (assert (fixnum? (process-group-id (current-process-id))))
    (assert (list? (user-information (current-user-id))))

Attachment: 0001-Fixes-namespaces-of-chicken.process-context.posix-ex.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]