tests: fix connection/_put_file.yml

Was statting wrong destination path, and comparing floats that don't
roundtrip serialization reliably.
issue72
David Wilson 6 years ago
parent 0cf908661e
commit e85760477b

@ -13,11 +13,10 @@
register: original register: original
connection: local connection: local
- stat: path=/tmp/{{file_name}} - stat: path=/tmp/{{file_name}}.out
register: copied register: copied
- assert: - assert:
that: that:
- original.stat.checksum == copied.stat.checksum - original.stat.checksum == copied.stat.checksum
#- original.stat.atime == copied.stat.atime - original.stat.mtime|int == copied.stat.mtime|int
- original.stat.mtime == copied.stat.mtime

Loading…
Cancel
Save