diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2014-10-24 18:53:02 +0100 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2014-10-24 18:59:10 +0100 |
commit | 5307773088c9b322501533291f3fbc3b7b84b377 (patch) | |
tree | d13f42edaed55e4a920e6835e562d5a39eabc905 /install-sh | |
parent | 717d4481cb5d0d9db7a3d9660954ea54df763a20 (diff) |
regress: Use new combined hex syntax for adnstest types
This makes the tests clearer to read. No functional change.
Change was made with
for f in regress/*.sys; do perl -i~ -p ../t.pl $f; done
where t.pl is this script
if ($.==1) { $at=m{^(?:\./)?adnstest\b}; }
if ($at && $.==2 && m/^:/) {
m/^:(\S+)/ or die;
$r=$'; #';
$_=$1;
s{\b(\d+)\b}{
sprintf "0x%x|%d", ($1 & ~0xffff), ($1 & 0xffff)
}ge;
$_=":$_$r";
}
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Diffstat (limited to 'install-sh')
0 files changed, 0 insertions, 0 deletions