Skip to content

Commit

Permalink
github: make rpcserver run in sudo
Browse files Browse the repository at this point in the history
  • Loading branch information
doronz88 committed Feb 17, 2022
1 parent 1af8cff commit 20562d4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
working-directory: ./src/rpcserver
run: |
make all
nohup ./rpcserver &
sudo nohup ./rpcserver &
- name: Install python package + pytest
working-directory: ./src/rpcclient
run: |
Expand Down
5 changes: 1 addition & 4 deletions src/rpcclient/tests/test_fs.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
from stat import S_IMODE
import os

import pytest
from stat import S_IMODE


@pytest.mark.local_only
def test_chown(client, tmp_path):
file = (tmp_path / 'temp.txt')
file.touch()
Expand Down

0 comments on commit 20562d4

Please sign in to comment.