diff options
author | Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com> | 2018-05-27 05:19:06 +0300 |
---|---|---|
committer | Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com> | 2018-05-27 05:19:06 +0300 |
commit | f785afc64d73e04ea7675f3b245e6789b341c57e (patch) | |
tree | 940c3ec5eb88d7a770fc69f5f8127b27bbbd715e /test/tests/file_handle_create_close | |
parent | 89f1d8a7c4c2c41dc1f52c7fbc93c59995460c6f (diff) |
Use new POSIX-delete syscall when on Windows 10 1709 or later.
Rename unlink_on_close to unlink_on_first_close.
Diffstat (limited to 'test/tests/file_handle_create_close')
-rw-r--r-- | test/tests/file_handle_create_close/runner.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/tests/file_handle_create_close/runner.cpp b/test/tests/file_handle_create_close/runner.cpp index 5b5043e7..a4808484 100644 --- a/test/tests/file_handle_create_close/runner.cpp +++ b/test/tests/file_handle_create_close/runner.cpp @@ -79,7 +79,7 @@ template <class U> inline void file_handle_create_close_creation(U &&f) { success(), { file_handle::mode::write, file_handle::creation::truncate , file_handle::flag::none }, { "existing1" }, { "existing0" }}, // Does the flag parameter have the expected side effects? - { success(), { file_handle::mode::write, file_handle::creation::open_existing, file_handle::flag::unlink_on_close }, { "existing1" }, { "non-existing" }} + { success(), { file_handle::mode::write, file_handle::creation::open_existing, file_handle::flag::unlink_on_first_close }, { "existing1" }, { "non-existing" }} }, // Any parameters from now on are called before each permutation and the object returned is // destroyed after each permutation. The callspec is (parameter_permuter<...> *parent, outcome<T> &testret, size_t, pars) |