Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 742980

Summary: sys-block/gparted-1.1.0 - FAIL: test_PipeCapture
Product: Gentoo Linux Reporter: ernsteiswuerfel <erhard_f>
Component: Current packagesAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED OBSOLETE    
Severity: normal CC: jstein
Priority: Normal Keywords: TESTFAILURE
Version: unspecified   
Hardware: PPC   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log
test-suite.log
emerge --info

Description ernsteiswuerfel archtester 2020-09-16 15:59:02 UTC
Created attachment 660624 [details]
build.log

=========================================
   gparted 1.1.0: tests/test-suite.log
=========================================

# TOTAL: 5
# PASS:  4
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0

.. contents:: :depth: 2

FAIL: test_PipeCapture
======================

Running main() from src/gtest_main.cc
[==========] Running 13 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 13 tests from PipeCaptureTest
[...]
test_PipeCapture.cc:336: Failure
      Expected: inputstr
     Of length: 6
To be equal to: capturedstr.raw()
     Of length: 5
With first binary difference:
< 0x00000000  "ABC.EF"            41 42 43 00 45 46
--
> 0x00000000  "ABCEF"             41 42 43 45 46
[  FAILED  ] PipeCaptureTest.ReadEmbeddedNULCharacter (1 ms)
[ RUN      ] PipeCaptureTest.ReadNULByteInMiddleOfMultiByteUTF8Character
test_PipeCapture.cc:353: Failure
      Expected: expectedstr
     Of length: 7
To be equal to: capturedstr.raw()
     Of length: 6
With first binary difference:
< 0x00000000  "._45678"           00 5F 34 35 36 37 38
--
> 0x00000000  "_45678"            5F 34 35 36 37 38
[  FAILED  ] PipeCaptureTest.ReadNULByteInMiddleOfMultiByteUTF8Character (0 ms)
[...]
[----------] 13 tests from PipeCaptureTest (103 ms total)

[----------] Global test environment tear-down
[==========] 13 tests from 1 test case ran. (103 ms total)
[  PASSED  ] 11 tests.
[  FAILED  ] 2 tests, listed below:
[  FAILED  ] PipeCaptureTest.ReadEmbeddedNULCharacter
[  FAILED  ] PipeCaptureTest.ReadNULByteInMiddleOfMultiByteUTF8Character
Comment 1 ernsteiswuerfel archtester 2020-09-16 15:59:19 UTC
Created attachment 660627 [details]
test-suite.log
Comment 2 ernsteiswuerfel archtester 2020-09-16 15:59:52 UTC
Created attachment 660630 [details]
emerge --info
Comment 3 Matt Turner gentoo-dev 2021-04-16 21:36:43 UTC
I see the same thing with gparted-1.2.0 on amd64, so it's not related to ppc.
Comment 4 ernsteiswuerfel archtester 2021-06-01 00:02:51 UTC
Passes in gparted-1.3.0.

test_SupportedFileSystems fails when not all to-be-tested filesystems are installed at test time.

[...]
PASS: test_dummy
PASS: test_BlockSpecial
PASS: test_PasswordRAMStore
PASS: test_PipeCapture
FAIL: test_SupportedFileSystems
============================================================================
Testsuite summary for gparted 1.3.0
============================================================================
# TOTAL: 5
# PASS:  4
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0