systemd / casync

Content-Addressable Data Synchronization Tool
1.51k stars 117 forks source link

Tests fail on arch Linux #99

Open arianvp opened 7 years ago

arianvp commented 7 years ago

in test-script.sh the following command fails (I removed the -q flag to find out the difference)

+ diff /var/tmp/test-casync.9890/test.digest /var/tmp/test-casync.9890/test.extract-caidx.digest
1c1
< 95763f29590ff8718edf4a0f499c4d18e5bf05d19ff4255f85f81b1e886af14c
---
> 01e203e9c0fd406309db5cfc2e809b8a9cf67a7b9056bf55b9dd47664a38c4c4

So that's the following line:

https://github.com/systemd/casync/blob/da2f87e47b2f0e6028c923a12bf0f05e159d2023/test/test-script.sh.in#L57

Full log:

https://gist.github.com/arianvp/38863afa6040d8246c331e0b7496b97a

All the other tests succeed

dvzrv commented 2 years ago

FWIW: I know this ticket is quite ancient, but the tests seem all to work in current HEAD (0efa7abffe5fffbde8c457d3c8fafbdde0bb6e4f). There have been a lot of changes on top of test-script.sh in the meantime.

@keszybz @poettering it would be really cool if there was a release of casync again. Currently it needs many patches on top of v2 for downstreams to be able to package it or downstreams need to lock an arbitrary commit in the hopes that it works (not all distributions allow that).