test-container: Fix "unused code" warnings on HURD
authorDJ Delorie <dj@redhat.com>
Mon, 11 Apr 2022 19:45:35 +0000 (15:45 -0400)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Mon, 11 Apr 2022 23:28:41 +0000 (01:28 +0200)
commitd2263bf50af9aab84210c8c9bbf100bd780efad9
treed54149e2b548898a7f532ad07dfe18414d8b9ff7
parentac5f5a92edd9df5a6994e41309ef4a3580a2aeb1
test-container: Fix "unused code" warnings on HURD

Comment out bits of code that are only used when we *have* pid
namespaces, to avoid "unused code" warnings.

Reviewed-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Message-Id: <xno817tnds.fsf@greed.delorie.com>
support/test-container.c