Skip to content

Commit cf77da1

Browse files
committed
DEBUG: test chflags
1 parent f11dda1 commit cf77da1

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

.github/workflows/ci.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,4 +107,6 @@ jobs:
107107
runs-on: macos-latest
108108
steps:
109109
- uses: actions/checkout@v4
110+
with:
111+
persist-credentials: false
110112
- run: env PYTESTFLAGS="--verbose -p no:cacheprovider --color=yes" test/macos-script.sh

test/t/unit/test_unit_load.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import os
2+
import sys
23

34
import pytest
45

@@ -34,6 +35,8 @@ def fixture_dir(self, request, bash):
3435
bash, "ln -sf ../prefix1/sbin/cmd2 %s/bin/cmd2" % tmpdir
3536
)
3637
yield str(tmpdir)
38+
if sys.platform == "darwin":
39+
assert_bash_exec(bash, "sudo rm -rf %s/*" % tmpdir)
3740
assert_bash_exec(bash, "rm -rf %s/*" % tmpdir)
3841

3942
def test_userdir_1(self, bash, fixture_dir):

0 commit comments

Comments
 (0)