Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

util test failed under i386 #442

Closed
lidaobing opened this issue Apr 13, 2021 · 0 comments · Fixed by #443
Closed

util test failed under i386 #442

lidaobing opened this issue Apr 13, 2021 · 0 comments · Fixed by #443
Assignees

Comments

@lidaobing
Copy link
Member

lidaobing commented Apr 13, 2021

# ./builddir/src/iptux-utils/libiptux_utils_test 
[==========] Running 8 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 8 tests from Utils
[ RUN      ] Utils.FLAG_SET
[       OK ] Utils.FLAG_SET (0 ms)
[ RUN      ] Utils.numeric_to_size
../src/iptux-utils/UtilsTest.cpp:30: Failure
Expected equality of these values:
  numeric_to_size(1L << 40)
    Which is: "0B"
  "1.0TiB"
[  FAILED  ] Utils.numeric_to_size (1 ms)
[ RUN      ] Utils.inAddrFromString
[       OK ] Utils.inAddrFromString (0 ms)
[ RUN      ] Utils.stringFormat
[       OK ] Utils.stringFormat (0 ms)
[ RUN      ] Utils.stringDump
[       OK ] Utils.stringDump (0 ms)
[ RUN      ] Utils.stringDumpAsCString
[       OK ] Utils.stringDumpAsCString (1 ms)
[ RUN      ] Utils.ipv4Compare
[       OK ] Utils.ipv4Compare (0 ms)
[ RUN      ] Utils.utf8MakeValid
[       OK ] Utils.utf8MakeValid (0 ms)
[----------] 8 tests from Utils (2 ms total)

[----------] Global test environment tear-down
[==========] 8 tests from 1 test case ran. (2 ms total)
[  PASSED  ] 7 tests.
[  FAILED  ] 1 test, listed below:
[  FAILED  ] Utils.numeric_to_size
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant