/testing/guestbin/swan-prep
west #
 # Check the enum name tables
west #
 #
west #
 # Use CMP not DIFF.  When there's a difference, the output from diff
west #
 # mixed in with the output from comparing console.txt files looks too
west #
 # much like console.txt needs updating when it doesn't.
west #
 #
west #
 # To update OUTPUT.enumcheck.txt run something like:
west #
 # $ ./OBJ.linux.x86_64/testing/enumcheck/enumcheck > testing/enumcheck/OUTPUT.enumcheck.txt
west #
 # $ git diff
west #
 ipsec _enumcheck > OUTPUT/enumcheck.out || echo "Enum check barfed"
ipsec _enumcheck: leak detective found no leaks
west #
 cmp ../../programs/_enumcheck/OUTPUT.enumcheck.txt OUTPUT/enumcheck.out || echo "Does the file OUTPUT.enumcheck.txt need updating? See description.txt"
west #
 # other checks
west #
 ipsec _jambufcheck > /dev/null || echo failed
ipsec _jambufcheck: leak detective found no leaks
west #
 ipsec _timecheck > /dev/null || echo failed
ipsec _timecheck: leak detective found no leaks
west #
 ipsec _hunkcheck > /dev/null || echo failed
ipsec _hunkcheck: leak detective found no leaks
west #
 ipsec _dncheck > /dev/null || echo failed
ipsec _dncheck: leak detective found no leaks
west #
 ipsec _keyidcheck > /dev/null || echo failed
ipsec _keyidcheck: leak detective found no leaks
west #
 ipsec _asn1check > /dev/null || echo failed
ipsec _asn1check: leak detective found no leaks
west #
 ipsec _vendoridcheck > /dev/null || echo failed
ipsec _vendoridcheck: Initializing NSS
ipsec _vendoridcheck: FIPS Mode: OFF
west #
 ipsec _ttodatacheck -r
west #
 # Need to disable DNS tests; localhost is ok
west #
 ipsec _ipcheck --dns=hosts-file > /dev/null || echo failed
ipsec _ipcheck: leak detective found no leaks
west #
 
