From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-io1-xd2a.google.com (mail-io1-xd2a.google.com [IPv6:2607:f8b0:4864:20::d2a]) by sourceware.org (Postfix) with ESMTPS id 47BEE3858002 for ; Tue, 23 Mar 2021 16:39:26 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 47BEE3858002 Received: by mail-io1-xd2a.google.com with SMTP id z3so18373318ioc.8 for ; Tue, 23 Mar 2021 09:39:26 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=XIozVjaheaac752uF/ghOKdrsoYERfEPIUkqiyrgW3I=; b=Bfs5iC+XXnOO9xgGDUxOuKun8GAazH3Ug+hBRrHVB+fZTa0UU7nSC5lnkgbPFIloY9 OIVeZeKyY9LZzXLB5rW8oBo5rt4X4Z+rP2O5nqJ+qmQuwcjUXxu3O39jQ7+xhjFpjDkt VvdJc/eBq/8S1Enp5LtxUhD7CoGCeUQvA991zAUSOhR+gSiSWS+2BHWkYMW7uRF1nHSi +AafDuUMSFP+AQQKCIrrw/Mz1bApnX211zy+9sr5lHXxBkAu2d3hoXh9sZkGj4VZy2tU TOOzD6Ul7DgjyFTrSaBP8pA5UuXfGqa/YatnBWIo4HTo8GnolW3f1nhXo1hCMNbkFlM4 BAJg== X-Gm-Message-State: AOAM530wvvk88J4KhIuQR/TiiBr3HRMgqnq4KXlzpWRTjLqhJNFZjAQh MgBqes2vPR3TLxRu7kZCWW0v63mtLxkgMa3PdNbaLW8NmzQ= X-Google-Smtp-Source: ABdhPJx/lXEtvU4yvHBpl+mocmw8/Dez/SICW+2WBNBcSTBtMzyRSOoGecZbBr7u2ZR0IU+/EMb/mjXNvz5OX1/8VIQ= X-Received: by 2002:a5d:93ce:: with SMTP id j14mr5252022ioo.172.1616517565523; Tue, 23 Mar 2021 09:39:25 -0700 (PDT) MIME-Version: 1.0 From: Peng Yu Date: Tue, 23 Mar 2021 11:39:14 -0500 Message-ID: Subject: Does glibc has complete test coverage? To: libc-help Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: libc-help@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-help mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Mar 2021 16:39:27 -0000 Hi, https://www.kernel.org/doc/man-pages/missing_pages.html "... quite a few kernel and glibc bugs have been uncovered while writing test programs during the preparation of man pages. " I see the above text. It doesn't make too much sense, as it indicates that glibc does not have complete test coverage. Why not taking an approach of always accompanying each line of source code with appopriate test cases? If this approach is taken, then most bugs should have been eliminated beforehand? -- Regards, Peng