Browse Source

tests.cpp

tests
Antonio SJ Musumeci 3 weeks ago
parent
commit
161795087c
  1. 2
      tests/tests.cpp

2
tests/tests.cpp

@ -318,7 +318,7 @@ test_rmdir()
dir_fd = openat(root_fd,"test-dir",O_DIRECTORY);
TEST_CHECK(dir_fd >= 0);
rv = unlinkat(dir_fd,"test-dir",AT_REMOVEDIR);
rv = unlinkat(root_fd,"test-dir",AT_REMOVEDIR);
close(dir_fd);
close(root_fd);

Loading…
Cancel
Save