mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-18 20:36:04 +00:00
Build and test on Windows: LF session scripts, '/' in relative paths (#552)
fix: build and test on Windows - .gitattributes keeps the session's scripts LF under core.autocrlf=true; CRLF scripts made every session exit with status 2. - runtime_inputs.py and the scrub record / log zip use '/' in relative paths, which Windows reported with '\' (runtime inputs never matched). - The read-only-folder scrub test is skipped on Windows, which still creates files in a read-only directory. Co-authored-by: xXJsonDeruloXx <danielhimebauch@gmail.com>
This commit is contained in:
1 parent
9e1b3c1ac1
commit
60caa85353
5 files changed
+7
-4
No files matched your search
@@ -105,6 +105,7 @@ class SessionLogShareTest {
|
||||
@Test fun aFileThatCouldNotBeScrubbedLeavesTheFolderUnrecorded() {
|
||||
val folder = tmp.newFolder("2026-10-06-06-steam")
|
||||
File(folder, "session.log").writeText("$secret\n")
|
||||
org.junit.Assume.assumeFalse(System.getProperty("os.name").startsWith("Windows"))
|
||||
folder.setWritable(false)
|
||||
try {
|
||||
SessionArtifacts.scrubAndMark(folder)
|
||||
|
||||
Reference in new issue
Block a user