Skip to content

Commit 3ff1552

Browse files
committed
Update test case
Signed-off-by: Shizuo Fujita <fujita@clear-code.com>
1 parent 707f6b0 commit 3ff1552

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

fluent-package/apt/systemd-test/tmpfiles.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,13 @@ set -exu
44

55
. $(dirname $0)/../commonvar.sh
66

7+
# Install v6 LTS
8+
curl --fail --silent --show-error --location https://fluentd.cdn.cncf.io/sh/install-${distribution}-${code_name}-fluent-package6-lts.sh | sh
9+
10+
# The update should succeed even if the working directory does not exist
11+
# https://github.com/fluent/fluent-package-builder/pull/955
12+
rm -rf /tmp/fluent/
13+
714
# Display unit info for debug
815
sudo systemctl cat systemd-tmpfiles-clean.service
916
sudo systemctl cat systemd-tmpfiles-clean.timer

fluent-package/yum/systemd-test/tmpfiles.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ set -exu
44

55
. $(dirname $0)/common.sh
66

7+
install_v6_lts
8+
9+
# The update should succeed even if the working directory does not exist
10+
# https://github.com/fluent/fluent-package-builder/pull/955
11+
rm -rf /tmp/fluent/
12+
713
# Display unit info for debug
814
sudo systemctl cat systemd-tmpfiles-clean.service
915
sudo systemctl cat systemd-tmpfiles-clean.timer

0 commit comments

Comments
 (0)