File: wrong_command.c

package info (click to toggle)
fuse3 3.18.1-1
  • links: PTS
  • area: main
  • in suites: sid
  • size: 58,496 kB
  • sloc: ansic: 25,055; perl: 6,044; cpp: 3,960; python: 1,201; sh: 416; javascript: 313; makefile: 59
file content (16 lines) | stat: -rw-r--r-- 516 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include <stdio.h>

int main(void) {
#ifdef MESON_IS_SUBPROJECT
	fprintf(stderr, "libfuse tests were skipped because it's a meson subproject.\n"
			"If you wish to run them try:\n"
			"'cd <srcdir>/subprojects/libfuse && meson . build && cd build && python3 -m pytest test/' instead");
	return 77; /* report as a skipped test */
#else
	fprintf(stderr, "\x1B[31m\e[1m"
		"This is not the command you are looking for.\n"
		"You probably want to run 'python3 -m pytest test/' instead"
		"\e[0m\n");
	return 1;
#endif
}