21 char *
Filename =
"../testdata/test_1-1.dsc";
23 FO_ASSERT_EQUAL(
Result, 1);
34 char *
Filename =
"../testdata/test_1.orig.tar.gz";
36 FO_ASSERT_EQUAL(
Result, 0);
47 char *
Filename =
"../testdata/test.exe";
49 FO_ASSERT_EQUAL(
Result, 1);
60 char *
Filename =
"../testdata/test_1.orig.tar.gz";
62 FO_ASSERT_EQUAL(
Result, 0);
static int Result
Result of calls.
void testIsDebianSourceFile()
function IsDebianSourceFile(char *Filename)
void testIsNotDebianSourceFile()
function IsDebianSourceFile(char *Filename)
void testIsExeFile()
function IsExe(char *Filename)
CU_TestInfo IsFunctions_testcases[]
Isxxx() test cases.
void testIsNotExeFile()
function IsExe(char *Filename)
int IsDebianSourceFile(char *Filename)
Read file to see if it is a Debian source file.
int IsExe(char *Exe, int Quiet)
Check if the executable exists.