summaryrefslogtreecommitdiff
path: root/tests/status-failed.c
blob: 81d2885a0885bef66e75d5f879740a61e6a6c715 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/*
 * Check status=failed filtering for failed and successful syscalls.
 *
 * Copyright (c) 2019 Intel Corporation
 * Copyright (c) 2019 Paul Chaignon <paul.chaignon@gmail.com>
 * All rights reserved.
 *
 * SPDX-License-Identifier: GPL-2.0-or-later
 */

#include "tests.h"
#include <stdio.h>

int
main(void)
{
	static const char sample_valid[] = ".";
	static const char sample_invalid[] = "";

	test_status_chdir(sample_valid, 0, 1);
	test_status_chdir(sample_invalid, 0, 1);
	puts("+++ exited with 0 +++");
	return 0;
}