Testing with UNC paths && GNU mkinstalldirs not working with (Cygwin) UNC dirs ...
Roland Mainz
roland.mainz@nrubsig.org
Sat Mar 8 18:22:03 GMT 2025
HI!
----
While doing testing with UNC paths I found that GNU mkinstalldirs does
not handle UNC paths - for example creating subdirs in
//foo.bar.com/chickmonster/dir1/dir2/ will *partially* appear in
/foo.bar.com/chickmonster/dir1/dir2/
Workaround is in
https://github.com/kofemann/ms-nfs41-client/blob/296286c364548eba9b8e692521910fd59a99ebf7/tests/nfsbuildtest/nfsbuildtest.ksh93#L121
... which basically replaces the GNU mkinstalldirs script with a
version which just calls mkdir -p "$@"
Questions:
- Does Cygwin have any testsuite which tests with UNC paths, or do I
have to write one myself (for ms-nfs41-client and ms-nfs42-client we
have stuff like
https://github.com/kofemann/ms-nfs41-client/blob/master/tests/nfsbuildtest/nfsbuildtest.ksh93
which runs as part of the CI, both /cygdrive/$devletter/... and UNC
path) ?
- Does anyone know whether there is a single upstream for GNU
mkinstalldirs, or do the various GNU projects just copy the script
around ?
----
Bye,
Roland
--
__ . . __
(o.\ \/ /.o) roland.mainz@nrubsig.org
\__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer
/O /==\ O\ TEL +49 641 3992797
(;O/ \/ \O;)
More information about the Cygwin
mailing list