06ddba0 Enable tests, and cherry-pick upstream fixes

Authored and Committed by cbm 8 years ago
    Enable tests, and cherry-pick upstream fixes
    
    - cherry-pick from upstream to avoid braces warning.
    - enable tests, then patch and cherry-pick so they pass.
    - tarball missing two files needed for tests.
    - BR on perl(open) for tests.
    - patches to enquiet build, fix brace warnings.
    - spec formatting fixes.
    
        
file modified
+2 -0
file modified
+45 -14
file modified
+2 -0