lmi
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi] System-test validation commands


From: Greg Chicares
Subject: [lmi] System-test validation commands
Date: Fri, 5 Oct 2018 16:26:57 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.0

[...posting this here because email containing *nix commands is
mangled by a corporate server for the sake of security theater...]

After adding a 'WriteTsvFile' element to the ledger for new PDFs,
all system-test output differs. After moving the old results aside...

pushd /opt/lmi/touchstone

d="/opt/lmi/touchstone-old/touchstone-$(date -u +'%Y%m%dT%H%MZ')" && mkdir -p 
$d \
&& for z in *; do cmp --quiet $z ../test/$z || ( mv $z $d/$z; mv ../test/$z 
./$z; ) ; done

...to confirm that the only difference is the new field...

pushd /opt/lmi/touchstone-old/touchstone-20181005T1252Z

diff -xmd5sums -U0 . /opt/lmi/test |sed -e'/^Only in/d' -e'/^diff /d' 
-e'/address@hidden@]/d' |sort -u

...and the output of that command is, as expected, this single line:

+WriteTsvFile==0



reply via email to

[Prev in Thread] Current Thread [Next in Thread]