RE: [Bug] Test 1450.91 Fails on NonStop

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wednesday, February 15, 2023 12:45 PM, I wrote:
>Test 1450.91 fails...
>
>I am not sure what is going on here other than test_must_fail is not
processing the
>completion code.  This was run on both NonStop platform variants with sh
and bash.
>The expected file contains what is expected.
>actual is empty. There are no very large files anywhere in the trash
directory.
>
>expecting success of 1450.91 'fsck error on gitattributes with excessive
>size':
>        blob=$(test-tool genzeros $((100 * 1024 * 1024 + 1)) | git
hash-object -w --stdin)
>&&
>        test_when_finished "remove_object $blob" &&
>        tree=$(printf "100644 blob %s\t%s\n" $blob .gitattributes | git
>mktree) &&
>        test_when_finished "remove_object $tree" &&
>        cat >expected <<-EOF &&
>        error in blob $blob: gitattributesLarge: .gitattributes too large
to parse
>        EOF
>        test_must_fail git fsck --no-dangling >actual 2>&1 &&
>        test_cmp expected actual
>
>+ + git hash-object -w --stdin
>+ test-tool genzeros 104857601
>blob=e69de29bb2d1d6434b8b29ae775ad8c2e48c5391
>+ test_when_finished remove_object
>+ e69de29bb2d1d6434b8b29ae775ad8c2e48c5391
>+ + git mktree
>+ printf 100644 blob %s\t%s\n e69de29bb2d1d6434b8b29ae775ad8c2e48c5391
>.gitattributes
>tree=f8614bda784833ac9ab9e82c4ca296948c6ddd60
>+ test_when_finished remove_object
>+ f8614bda784833ac9ab9e82c4ca296948c6ddd60
>+ cat
>+ 1> expected 0<<
>error in blob e69de29bb2d1d6434b8b29ae775ad8c2e48c5391: gitattributesLarge:
>.gitattributes too large to parse
>+ test_must_fail git fsck --no-dangling
>+ 1> actual 2>& 1
>test_must_fail: command succeeded: git fsck --no-dangling
>error: last command exited with $?=1
>not ok 91 - fsck error on gitattributes with excessive size #
>#               blob=$(test-tool genzeros $((100 * 1024 * 1024 + 1)) | git
>hash-object -w --stdin) &&
>#               test_when_finished "remove_object $blob" &&
>#               tree=$(printf "100644 blob %s\t%s\n" $blob .gitattributes |
>git mktree) &&
>#               test_when_finished "remove_object $tree" &&
>#               cat >expected <<-EOF &&
>#               error in blob $blob: gitattributesLarge: .gitattributes too
>large to parse
>#               EOF
>#               test_must_fail git fsck --no-dangling >actual 2>&1 &&
>#               test_cmp expected actual
>#
>1..91
>J

This seems to have started at 2.39. I first noticed it 2.39.2.




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux