File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed
.github/jobs/configure-checks Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -40,6 +40,10 @@ setup() {
4040 repo-install gcc g++ libcgroup-dev composer
4141}
4242
43+ run_user_stderr () {
44+ su $u -c " $* " 2>&1
45+ }
46+
4347run_configure () {
4448 su $u -c " ./configure $* "
4549}
@@ -454,3 +458,18 @@ compile_assertions_finished () {
454458 run make judgehost
455459 assert_failure
456460}
461+
462+ @test " 'Make distclean' has all permissions" {
463+ if [ " $distro_id " = " ID=fedora" ]; then
464+ # Fails as libraries are not found
465+ skip
466+ fi
467+ setup
468+ run run_configure
469+ run_user_stderr make domserver
470+ make install-domserver
471+ run_user_stderr make distclean
472+ refute_partial " cannot remove"
473+ refute_partial " Permission denied"
474+ assert_success
475+ }
You can’t perform that action at this time.
0 commit comments