summaryrefslogtreecommitdiffstats
path: root/test-progname.c
blob: 79add7ebd09832d51811dd988f5c5186e2113936 (plain) (blame)
1
2
3
4
5
6
7
8
9
#include <string.h>

extern char *__progname;

int
main(void)
{
	return !!strcmp(__progname, "test-progname");
}