it add file3 && git grep -i -F "TILRAUN: Halló Heimur [abc]!" file3 ++ test_write_lines 'TILRAUN: Halló Heimur [abc]!' ++ printf '%s\n' 'TILRAUN: Halló Heimur [abc]!' ++ git add file3 ++ git grep -i -F 'TILRAUN: Halló Heimur [abc]!' file3 file3:TILRAUN: Halló Heimur [abc]! ok 6 - grep string with regex, with -F expecting success of 7812.7 'pickaxe -i on non-ascii': git commit -m first && git log --format=%f -i -S"TILRAUN: HALLÓ HEIMUR!" >actual && echo first >expected && test_cmp expected actual ++ git commit -m first [master (root-commit) b856096] first Author: A U Thor 3 files changed, 3 insertions(+) create mode 100644 file create mode 100644 file2 create mode 100644 file3 ++ git log --format=%f -i '-STILRAUN: HALLÓ HEIMUR!' ++ echo first ++ test_cmp expected actual ++ diff -u expected actual ok 7 - pickaxe -i on non-ascii expecting success of 7812.8 'PCRE v2: setup invalid UTF-8 data': printf "\\200\\n" >invalid-0x80 && echo "ævar" >expected && cat expected >>invalid-0x80 && git add invalid-0x80 ++ printf '\200\n' ++ echo ævar ++ cat expected ++ git add invalid-0x80 ok 8 - PCRE v2: setup invalid UTF-8 data expecting success of 7812.9 'PCRE v2: grep ASCII from invalid UTF-8 data': git grep -h "var" invalid-0x80 >actual && test_cmp expected actual && git grep -h "(*NO_JIT)var" invalid-0x80 >actual && test_cmp expected actual ++ git grep -h var invalid-0x80 ++ test_cmp expected actual ++ diff -u expected actual ++ git grep -h '(*NO_JIT)var' invalid-0x80 ++ test_cmp expected actual ++ diff -u expected actual ok 9 - PCRE v2: grep ASCII from invalid UTF-8 data expecting success of 7812.10 'PCRE v2: grep non-ASCII from invalid UTF-8 data': git grep -h "æ" invalid-0x80 >actual && test_cmp expected actual && git grep -h "(*NO_JIT)æ" invalid-0x80 && test_cmp expected actual ++ git grep -h æ invalid-0x80 ++ test_cmp expected actual ++ diff -u expected actual ++ git grep -h '(*NO_JIT)æ' invalid-0x80 ævar ++ test_cmp expected actual ++ diff -u expected actual ok 10 - PCRE v2: grep non-ASCII from invalid UTF-8 data expecting success of 7812.11 'PCRE v2: grep non-ASCII from invalid UTF-8 data with -i': test_might_fail git grep -hi "Æ" invalid-0x80 >actual && test_cmp expected actual && test_must_fail git grep -hi "(*NO_JIT)Æ" invalid-0x80 && test_cmp expected actual ++ test_might_fail git grep -hi Æ invalid-0x80 ++ test_must_fail ok=success git grep -hi Æ invalid-0x80 ++ case "$1" in ++ _test_ok=success ++ shift ++ git grep -hi Æ invalid-0x80 fatal: pcre2_match failed with error code -22: UTF-8 error: isolated byte with 0x80 bit set ++ exit_code=128 ++ test 128 -eq 0 ++ test_match_signal 13 128 ++ test 128 = 141 ++ test 128 = 269 ++ return 1 ++ test 128 -gt 129 ++ test 128 -eq 127 ++ test 128 -eq 126 ++ return 0 ++ test_cmp expected actual ++ diff -u expected actual --- expected 2020-01-06 11:24:10.120000000 +0000 +++ actual 2020-01-06 11:24:10.450000000 +0000 @@ -1 +0,0 @@ -ævar error: last command exited with $?=1 not ok 11 - PCRE v2: grep non-ASCII from invalid UTF-8 data with -i # # test_might_fail git grep -hi "Æ" invalid-0x80 >actual && # test_cmp expected actual && # test_must_fail git grep -hi "(*NO_JIT)Æ" invalid-0x80 && # test_cmp expected actual # # failed 1 among 11 test(s) 1..11 RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.jLi7uu (%check) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.jLi7uu (%check) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.7/site-packages/mockbuild/util.py", line 636, in do raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/git.spec