[libcxx] [test] Fix the fs.op.absolute test to cope with windows paths
authorMartin Storsjö <martin@martin.st>
Wed, 14 Oct 2020 10:16:03 +0000 (13:16 +0300)
committerMartin Storsjö <martin@martin.st>
Tue, 3 Nov 2020 07:32:52 +0000 (09:32 +0200)
commit321f696920630be1b3c93e2a8b965c624ddd646c
treec331660254ce8ad34c300b692964566cb513234c
parent9c30bafd59bf1078bbe1c235c7c25bf7e278e2e9
[libcxx] [test] Fix the fs.op.absolute test to cope with windows paths

Prepend the root path on the already_absolute testcase, and construct
a path ending with the preferred separator for the test reference for
"foo/".

Differential Revision: https://reviews.llvm.org/D89944
libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.absolute/absolute.pass.cpp