diff options
author | Nikolaus Rath <Nikolaus@rath.org> | 2017-06-20 13:53:55 -0700 |
---|---|---|
committer | Nikolaus Rath <Nikolaus@rath.org> | 2017-06-22 14:22:57 -0700 |
commit | 5f4619bac33a544af4da6e7d28bb4d7dbe45ae92 (patch) | |
tree | ab79661111460b9aab6a7b9452dfcf52a59a90de /test/wrong_command.c | |
parent | b66ecb9c3a1d4a7756ad48c61a8b2e82b08f1e8c (diff) | |
download | sshfs-5f4619bac33a544af4da6e7d28bb4d7dbe45ae92.tar sshfs-5f4619bac33a544af4da6e7d28bb4d7dbe45ae92.tar.gz sshfs-5f4619bac33a544af4da6e7d28bb4d7dbe45ae92.tar.bz2 sshfs-5f4619bac33a544af4da6e7d28bb4d7dbe45ae92.zip |
Added unit tests and travis integration
Diffstat (limited to 'test/wrong_command.c')
-rw-r--r-- | test/wrong_command.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/wrong_command.c b/test/wrong_command.c new file mode 100644 index 0000000..8366a98 --- /dev/null +++ b/test/wrong_command.c @@ -0,0 +1,9 @@ +#include <stdio.h> + +int main(void) { + 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; +} |