Skip to content

Commit 313f30f

Browse files
authored
Testing the behaviour failes
1 parent fe63667 commit 313f30f

File tree

1 file changed

+0
-36
lines changed

1 file changed

+0
-36
lines changed

.github/jobs/configure-checks/all.bats

Lines changed: 0 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -40,14 +40,6 @@ setup() {
4040
repo-install gcc g++ libcgroup-dev composer
4141
}
4242

43-
run_user_stderr () {
44-
su $u -c "$*" 2>&1
45-
}
46-
47-
run_stderr () {
48-
run "$* 2>&1"
49-
}
50-
5143
run_configure () {
5244
su $u -c "./configure $*"
5345
}
@@ -462,31 +454,3 @@ compile_assertions_finished () {
462454
run make judgehost
463455
assert_failure
464456
}
465-
466-
@test "'Make distclean' has all permissions" {
467-
if [ "$distro_id" = "ID=fedora" ]; then
468-
# Fails as libraries are not found
469-
skip
470-
fi
471-
setup
472-
run run_configure
473-
run_user_stderr make domserver
474-
make install-domserver
475-
run_user_stderr make distclean
476-
refute_partial "cannot remove"
477-
refute_partial "Permission denied"
478-
assert_success
479-
}
480-
481-
@test "'Make distclean' has permission errors" {
482-
if [ "$distro_id" = "ID=fedora" ]; then
483-
# Fails as libraries are not found
484-
skip
485-
fi
486-
setup
487-
run run_configure
488-
run_stderr make install-domserver
489-
run_user_stderr make distclean
490-
assert_partial "cannot remove"
491-
assert_partial "Permission denied"
492-
}

0 commit comments

Comments
 (0)