/*
 * dedup: open same file 50 times, profile must have exactly 1 rule
 */

#include <fcntl.h>
#include <unistd.h>

int main(void)
{
	for (int i = 0; i < 50; i++) {
		int fd = open("/etc/hostname", O_RDONLY);
		if (fd >= 0) close(fd);
	}
	return 0;
}
