Merging in 2.0.2.

This commit is contained in:
Geoffrey Challen
2017-01-09 22:37:50 -05:00
parent a0406ec181
commit 50cf3276e7
118 changed files with 1350 additions and 3158 deletions

View File

@@ -38,7 +38,7 @@
#include "test.h"
static
int
void
chdir_empty(void)
{
int rv;
@@ -49,20 +49,13 @@ chdir_empty(void)
report_begin("chdir to empty string");
rv = chdir("");
return report_check2(rv, errno, EINVAL, 0);
report_check2(rv, errno, EINVAL, 0);
}
void
test_chdir(void)
{
int ntests = 0, result = 0, lost_points = 0;
test_chdir_path(&ntests, &lost_points);
ntests++;
result = chdir_empty();
handle_result(result, &lost_points);
if(!lost_points)
success(TEST161_SUCCESS, SECRET, "/testbin/badcall");
test_chdir_path();
chdir_empty();
}