Skip to content

Commit

Permalink
Testing the behaviour failes
Browse files Browse the repository at this point in the history
  • Loading branch information
vmcj authored Oct 29, 2024
1 parent fe63667 commit 313f30f
Showing 1 changed file with 0 additions and 36 deletions.
36 changes: 0 additions & 36 deletions .github/jobs/configure-checks/all.bats
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,6 @@ setup() {
repo-install gcc g++ libcgroup-dev composer
}

run_user_stderr () {
su $u -c "$*" 2>&1
}

run_stderr () {
run "$* 2>&1"
}

run_configure () {
su $u -c "./configure $*"
}
Expand Down Expand Up @@ -462,31 +454,3 @@ compile_assertions_finished () {
run make judgehost
assert_failure
}

@test "'Make distclean' has all permissions" {
if [ "$distro_id" = "ID=fedora" ]; then
# Fails as libraries are not found
skip
fi
setup
run run_configure
run_user_stderr make domserver
make install-domserver
run_user_stderr make distclean
refute_partial "cannot remove"
refute_partial "Permission denied"
assert_success
}

@test "'Make distclean' has permission errors" {
if [ "$distro_id" = "ID=fedora" ]; then
# Fails as libraries are not found
skip
fi
setup
run run_configure
run_stderr make install-domserver
run_user_stderr make distclean
assert_partial "cannot remove"
assert_partial "Permission denied"
}

0 comments on commit 313f30f

Please sign in to comment.