Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
gsauthof-utility
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
external
gsauthof-utility
Commits
898c4a65
Commit
898c4a65
authored
9 months ago
by
Georg Sauthoff
Browse files
Options
Downloads
Patches
Plain Diff
switch to a kernel thread that is always available
NB: previous choice isn't available on (some?) Fedora 39 systems
parent
dc01468b
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
test/pargs.py
+1
-1
1 addition, 1 deletion
test/pargs.py
with
1 addition
and
1 deletion
test/pargs.py
+
1
−
1
View file @
898c4a65
...
@@ -228,7 +228,7 @@ def test_no_such_pid():
...
@@ -228,7 +228,7 @@ def test_no_such_pid():
@skip_if_isolated
@skip_if_isolated
@pytest.mark.parametrize
(
"
opts
"
,
[
[
'
-e
'
],
[
'
-x
'
]
])
@pytest.mark.parametrize
(
"
opts
"
,
[
[
'
-e
'
],
[
'
-x
'
]
])
def
test_no_perm
(
opts
):
def
test_no_perm
(
opts
):
q
=
subprocess
.
run
([
'
pgrep
'
,
'
-u
'
,
'
root
'
,
'
^
writeback
$
'
],
q
=
subprocess
.
run
([
'
pgrep
'
,
'
-u
'
,
'
root
'
,
'
^
kthreadd
$
'
],
stdout
=
subprocess
.
PIPE
,
stderr
=
subprocess
.
PIPE
,
universal_newlines
=
True
,
stdout
=
subprocess
.
PIPE
,
stderr
=
subprocess
.
PIPE
,
universal_newlines
=
True
,
check
=
True
)
check
=
True
)
pid
=
int
(
q
.
stdout
)
pid
=
int
(
q
.
stdout
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment