diff options
Diffstat (limited to 'usr.bin/cpio/test/test_0.c')
-rw-r--r-- | usr.bin/cpio/test/test_0.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/cpio/test/test_0.c b/usr.bin/cpio/test/test_0.c index d224daa..75a1437 100644 --- a/usr.bin/cpio/test/test_0.c +++ b/usr.bin/cpio/test/test_0.c @@ -39,11 +39,11 @@ DEFINE_TEST(test_0) { struct stat st; - failure("File %s does not exist?!", testprog); - if (!assertEqualInt(0, stat(testprog, &st))) + failure("File %s does not exist?!", testprogfile); + if (!assertEqualInt(0, stat(testprogfile, &st))) exit(1); - failure("%s is not executable?!", testprog); + failure("%s is not executable?!", testprogfile); if (!assert((st.st_mode & 0111) != 0)) exit(1); |