mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-27 03:41:23 +08:00
561b0bec44
* Makefile (testroot.pristine): New rules to initialize the test-in-container "testroot". * Makerules (all-testsuite): Add tests-container. * Rules (tests-expected): Add tests-container. (binaries-all-tests): Likewise. (tests-container): New, run these tests in the testroot container. * support/Makefile (others): Add *-container, support_paths.c, xmkdirp, and links-dso-program. * support/links-dso-program-c.c: New. * support/links-dso-program.cc: New. * support/test-container.c: New. * support/shell-container.c: New. * support/echo-container.c: New. * support/true-container.c: New. * support/xmkdirp.c: New. * support/xsymlink.c: New. * support/support_paths.c: New. * support/support.h: Add support paths prototypes. * support/xunistd.h: Add xmkdirp () and xsymlink (). * nss/tst-nss-test3.c: Convert to test-in-container. * nss/tst-nss-test3.root/: New.
12 lines
192 B
C++
12 lines
192 B
C++
#include <iostream>
|
|
|
|
using namespace std;
|
|
|
|
int
|
|
main (int argc, char **argv)
|
|
{
|
|
/* Complexity to keep gcc from optimizing this away. */
|
|
cout << (argc > 1 ? argv[1] : "null");
|
|
return 0;
|
|
}
|