Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
ansible / community / vmware / tools / check-ignores-order
Size: Mime:
#!/usr/bin/env bash
set -eux
tmp_file=/tmp/_sorted_file$$

clean_up () {
    ARG=$?
    rm ${tmp_file}
    exit $ARG
} 
trap clean_up EXIT


export LC_ALL=C
for i in $(find tests/sanity -name 'ignore-*.txt'); do
    sort -u ${i} > ${tmp_file}
    diff -s ${i} ${tmp_file}
done