Skip to content

Commit

Permalink
ci deb: tweak downgrade test case
Browse files Browse the repository at this point in the history
Now, no need to unmask td-agent because transitional
td-agent package was installed before.

As unmask fluentd is not enough to cleanup td-agent inactive(dead)
link so explicitly disable it to purge them.

Signed-off-by: Kentaro Hayashi <[email protected]>
  • Loading branch information
kenhys committed Nov 12, 2024
1 parent 11163f6 commit 649cfc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fluent-package/apt/systemd-test/downgrade-to-v4.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ sudo apt install -V -y \
sudo systemctl unmask td-agent

# Even though removing fluent-package, log and .conf are kept. dpkg reports "rc fluent-package" and "rc td-agent" status.
sudo apt remove -y fluent-package
sudo apt remove -y fluent-package td-agent

# fluentd.service is already masked (link to /dev/null), then remove it.
sudo systemctl unmask fluentd
Expand Down

0 comments on commit 649cfc1

Please sign in to comment.