From 645c10a3c3ba865826216b5227a70b5b94601f36 Mon Sep 17 00:00:00 2001 From: Takeshi Nakatani Date: Sun, 24 Sep 2023 13:08:23 +0000 Subject: [PATCH] Fixed test_not_existed_dir_obj test condition --- test/integration-test-main.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/integration-test-main.sh b/test/integration-test-main.sh index 65e2a11..875b97d 100755 --- a/test/integration-test-main.sh +++ b/test/integration-test-main.sh @@ -2664,7 +2664,7 @@ function add_all_tests { add_tests test_upload_sparsefile add_tests test_mix_upload_entities # TODO: investigate why only Alpine cannot see the implicit directory objects. - if grep -q -i -e 'ID="alpine"' /etc/os-release; then + if ! test -f /etc/os-release || ! grep -q -i -e 'ID=alpine' -e 'ID="alpine"' /etc/os-release; then add_tests test_not_existed_dir_obj fi add_tests test_ut_ossfs