( )⚙ D1636 tests: use Python to write binary data in lfs test instead of shell

This is an archive of the discontinued Mercurial Phabricator instance.

tests: use Python to write binary data in lfs test instead of shell
ClosedPublic

Authored by durin42 on Dec 9 2017, 8:50 PM.

Details

Summary

The shell construct here appears to be unevenly supported: it works in /bin/sh
on FreeBSD, but it doesn't seem to work when /bin/sh is dash. Using a Python
inline directive works fine, so let's just do that instead.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

durin42 created this revision.Dec 9 2017, 8:50 PM
yuja accepted this revision.Dec 10 2017, 5:56 AM
This revision is now accepted and ready to land.Dec 10 2017, 5:56 AM
This revision was automatically updated to reflect the committed changes.