Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 742980 - sys-block/gparted-1.1.0 - FAIL: test_PipeCapture
Summary: sys-block/gparted-1.1.0 - FAIL: test_PipeCapture
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2020-09-16 15:59 UTC by ernsteiswuerfel
Modified: 2021-06-01 00:02 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (gparted-1.1.0:20200916-134843.log,159.37 KB, text/plain)
2020-09-16 15:59 UTC, ernsteiswuerfel
Details
test-suite.log (test-suite.log,2.78 KB, text/plain)
2020-09-16 15:59 UTC, ernsteiswuerfel
Details
emerge --info (file_742980.txt,5.91 KB, text/plain)
2020-09-16 15:59 UTC, ernsteiswuerfel
Details

Note You need to log in before you can comment on or make changes to this bug.
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