Conversation
197e2f8 to
b23f5cf
Compare
8b7c917 to
38df243
Compare
1d887f5 to
8513c88
Compare
|
For what it is worth, I tried this branch on MSYS2 and FreeBSD, and the compile problems I was having are now gone. For MSYS2 Running gave me a UDF test failure: $ cargo test -- --include-ignored
...
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Running tests\iso-info.rs (target\debug\deps\iso_info-83a2970b562b84ca.exe)
running 7 tests
test joliet_metadata ... ok
test rock_metadata ... ok
test xa_metadata ... ok
test rock_contents ... ok
test joliet_contents ... ok
test udf ... FAILED
test xa_contents ... ok
failures:
---- udf stdout ----
thread 'udf' (7484) panicked at libcdio-cli\tests\iso-info.rs:157:10:
Unexpected stdout, failed diff original var
├── original: /:
│ dr-xr-xr-x 4294967295 4294967295 1 100 Feb 20 2014 01:26:20 .
│ -r-xr-xr-x 4294967295 4294967295 1 10 Feb 20 2014 01:25:12 FéжΘvrier
│
├── diff:
│ --- orig
│ +++ var
│ @@ -2,2 +2,2 @@
│ - dr-xr-xr-x 4294967295 4294967295 1 100 Feb 20 2014 01:26:20 .
│ - -r-xr-xr-x 4294967295 4294967295 1 10 Feb 20 2014 01:25:12 FéжΘvrier
│ + dr-xr-xr-x 4294967295 4294967295 1 100 Feb 19 2014 21:26:20 .
│ + -r-xr-xr-x 4294967295 4294967295 1 10 Feb 19 2014 21:25:12 FéжΘvrier
└── var as str: /:
dr-xr-xr-x 4294967295 4294967295 1 100 Feb 19 2014 21:26:20 .
-r-xr-xr-x 4294967295 4294967295 1 10 Feb 19 2014 21:25:12 FéжΘvrier
command=`"C:\\msys64\\tmp`\libcdio\\cdio-rust\\target\\debug\\iso-info-rs.exe" "-U" "../test-data/udf.iso"`
code=0
stdout=```
/:
dr-xr-xr-x 4294967295 4294967295 1 100 Feb 19 2014 21:26:20 .
-r-xr-xr-x 4294967295 4294967295 1 10 Feb 19 2014 21:25:12 FéжΘvrier
stderr=""
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
failures:
udf
test result: FAILED. 6 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s
error: test failed, to rerun pass `-p libcdio-cli --test iso-info` |
|
This is rather strange. This line sets the Could you run it again to rule out any race condition of sort. If that still fails, show the outputs of: cdio-rust$ cargo run --bin iso-info-rs -- -U test-data/udf.iso and (with the env) cdio-rust$ TZ=UTC cargo run --bin iso-info-rs -- -U test-data/udf.iso and (with udf1.iso) cdio-rust$ cargo run --bin iso-info-rs -- -U test-data/udf.iso And lastly try commenting that TZ UTC line in the test and see if that changes anything. |
I've now run I also tried commenting out all of the I am seeing time differences depending on how So right now it appears as those setting Here are some logs: |
Those lines set the env for the tests (which are run with Just to clarify:
Anyway, could you add the output of the tests, by running: |
|
This can be merged, as it doesn't have anything to do with the time issues. |
Issue #31 added to track this. |
|
How do I debug this? I tried: |
|
I think README.md needs to be updated to remove the information about setting |
Yes. |
Upstream is yet to add vendoring support for libcdio-sys.This therefore fetches it from a fork.
Do not merge.libcdio-sys is temporarily fetched from git, till release.