#include "op_file.h"#include <stdlib.h>#include <unistd.h>#include <stdio.h>#include <string.h>#include <limits.h>
Go to the source code of this file.
Functions | |
| int | main (void) |
Variables | |
| static char * | tests [][2] |
Definition in file file_tests.c.
| int main | ( | void | ) |
Definition at line 44 of file file_tests.c.
References tests.
char* tests[][2] [static] |
{
{ "/usr/bin/../bin", "/usr/bin" },
{ "/../usr/bin/", "/usr/bin" },
{ "/../../usr/bin/", "/usr/bin" },
{ "/../../usr/bin/.", "/usr/bin" },
{ "/../../usr/bin/./", "/usr/bin" },
{ "/usr/./bin", "/usr/bin" },
{ "/usr/././bin", "/usr/bin" },
{ "/usr///", "/usr" },
{ "../", "/" },
{ "./", "/usr" },
{ ".", "/usr" },
{ "./../", "/" },
{ "bin/../bin/../", "/usr" },
{ "../../../../../", "/" },
{ "/usr/bin/../../..", "/" },
{ "/usr/bin/../../../", "/" },
{ "././.", "/usr" },
{ "//", "/" },
{ "//usr", "/usr" },
{ "///", "/" },
{ NULL, NULL },
}
Definition at line 19 of file file_tests.c.
Referenced by main().
1.6.1