3 test_description='check that the most basic functions work
6 Verify wrappers and compatibility functions.
11 test_expect_success 'character classes (isspace, isalpha etc.)' '
15 test_expect_success 'mktemp to nonexistent directory prints filename' '
16 test_must_fail test-mktemp doesnotexist/testXXXXXX 2>err &&
17 grep "doesnotexist/test" err
20 test_expect_success POSIXPERM 'mktemp to unwritable directory prints filename' '
22 chmod -w cannotwrite &&
23 test_when_finished "chmod +w cannotwrite" &&
24 test_must_fail test-mktemp cannotwrite/testXXXXXX 2>err &&
25 grep "cannotwrite/test" err