diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4a847712fd7..c484b4a2322 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -106,7 +106,7 @@ jobs: dist/git_raw --version ! dist/git_raw lfs version - name: Upload dist directory - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: git-exec-${{ env.OS_NAME }} path: dist @@ -189,7 +189,7 @@ jobs: run: | brew install tree cloc wget curl make zip - name: Download dist directory - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v3 with: name: git-exec-${{ env.OS_NAME }} path: dist diff --git a/test/system/filesystem/test_binary.py b/test/system/filesystem/test_binary.py index 566d1a498a7..ff032912dcd 100644 --- a/test/system/filesystem/test_binary.py +++ b/test/system/filesystem/test_binary.py @@ -14,6 +14,11 @@ class TestSystemFilesystemBinary: ('igm/xztar_template-simple.tar.xz', True), ('igm/LICENSE', False), ('igm/README.md', False), + ('chinese.txt', False), + ('english.txt', False), + ('japanese.txt', False), + ('korean.txt', False), + ('russian.txt', False), ('empty', False), ] ) @@ -28,6 +33,11 @@ def test_is_binary_file(self, file, is_binary): ('igm/xztar_template-simple.tar.xz', False), ('igm/LICENSE', True), ('igm/README.md', True), + ('chinese.txt', True), + ('english.txt', True), + ('japanese.txt', True), + ('korean.txt', True), + ('russian.txt', True), ('empty', True), ] ) diff --git a/test/testfile/chinese.txt b/test/testfile/chinese.txt new file mode 100644 index 00000000000..56cc63e126a --- /dev/null +++ b/test/testfile/chinese.txt @@ -0,0 +1,5 @@ +春天来了, +百花齐放, +蝴蝶翩翩起舞。 +小河流水潺潺, +鸟儿歌唱动听。 \ No newline at end of file diff --git a/test/testfile/english.txt b/test/testfile/english.txt new file mode 100644 index 00000000000..e7336a2f647 --- /dev/null +++ b/test/testfile/english.txt @@ -0,0 +1,5 @@ +The sun rises, +Casting golden rays. +Birds chirp merrily, +As the world awakens. +A new day begins. \ No newline at end of file diff --git a/test/testfile/japanese.txt b/test/testfile/japanese.txt new file mode 100644 index 00000000000..e178ac8820b --- /dev/null +++ b/test/testfile/japanese.txt @@ -0,0 +1,5 @@ +桜の花が咲く、 +春の風が吹く。 +川の水が流れる、 +鳥たちが歌う。 +新しい季節の始まり。 \ No newline at end of file diff --git a/test/testfile/korean.txt b/test/testfile/korean.txt new file mode 100644 index 00000000000..9bbbcf1b542 --- /dev/null +++ b/test/testfile/korean.txt @@ -0,0 +1,5 @@ +봄이 왔습니다, +꽃들이 피어납니다. +나비가 날아다닙니다, +시냇물이 흐릅니다. +새들이 노래합니다. \ No newline at end of file diff --git a/test/testfile/russian.txt b/test/testfile/russian.txt new file mode 100644 index 00000000000..55369f1dac4 --- /dev/null +++ b/test/testfile/russian.txt @@ -0,0 +1,5 @@ +Весна пришла, +Цветы расцвели. +Бабочки порхают, +Ручьи журчат. +Птицы поют. \ No newline at end of file