test-container: add "su" command to run test as root, add unshare hints
commitb2e93de0ffedcfe2cfba100d47a4d4f6f85cea0b
authorDJ Delorie <dj@redhat.com>
Tue, 4 Dec 2018 05:03:12 +0000 (4 00:03 -0500)
committerDJ Delorie <dj@redhat.com>
Tue, 4 Dec 2018 05:03:12 +0000 (4 00:03 -0500)
treee98bdca317151daf10357da32ef0814b34dcf0a4
parent477a02f63751c4b759ddd9454d17f2a7ad120ee3
test-container: add "su" command to run test as root, add unshare hints

* support/test-container.c (check_for_unshare_hints): New.
(main): Call it if unshare fails.  Add support for "su" scriptlet
command.
ChangeLog
support/test-container.c