Skip to content

Commit 7313a61

Browse files
committed
freecad@1.1.1_py313_qt6: update test block to use new env vars to specify path to directories
1 parent 1d28dfb commit 7313a61

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

Formula/freecad@1.1.1_py313_qt6.rb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -526,11 +526,11 @@ def caveats
526526

527527
test do
528528
freecadcmd = OS.mac? ? prefix/"MacOS/FreeCADCmd" : bin/"FreeCADCmd"
529-
with_env(HOME: testpath, TMPDIR: testpath) do
530-
system freecadcmd, "-u", testpath/"user.cfg",
531-
"-s", testpath/"system.cfg",
532-
"-t", "0"
529+
with_env(HOME: testpath,
530+
XDG_CONFIG_HOME: "#{testpath}/config",
531+
XDG_CACHE_HOME: "#{testpath}/cache",
532+
XDG_DATA_HOME: "#{testpath}/data") do
533+
system freecadcmd, "-t", "0"
533534
end
534-
system freecadcmd, "-t", "0"
535535
end
536536
end

0 commit comments

Comments
 (0)