mirror of
https://github.com/release-engineering/dist-git.git
synced 2025-02-23 15:02:54 +00:00
basic-test: do it so that user clime can delete packages in lookaside
This commit is contained in:
parent
773d3b4611
commit
3a3ce5991a
2 changed files with 5 additions and 1 deletions
4
Vagrantfile
vendored
4
Vagrantfile
vendored
|
@ -65,5 +65,9 @@ Vagrant.configure(2) do |config|
|
|||
inline: "useradd clime -G packager",
|
||||
run: "always"
|
||||
|
||||
distgit.vm.provision "shell",
|
||||
inline: "echo 'clime ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers",
|
||||
run: "always"
|
||||
|
||||
end
|
||||
end
|
||||
|
|
|
@ -46,6 +46,6 @@ rlJournalStart
|
|||
rlPhaseStartCleanup BasicTest
|
||||
rm -rf $TESTPATH/prunerepo $TESTPATH/prunerepo-copy* $TESTPATH/prunerepo-1.1.tar.gz
|
||||
pkgs_cmd 'rm -rf /srv/git/repositories/prunerepo.git'
|
||||
pkgs_cmd 'rm -rf /srv/cache/lookaside/pkgs/prunerepo'
|
||||
pkgs_cmd 'sudo rm -rf /srv/cache/lookaside/pkgs/prunerepo'
|
||||
rlPhaseEnd
|
||||
rlJournalEnd &> /dev/null
|
||||
|
|
Loading…
Add table
Reference in a new issue