netcdf-c/ncgen3/run_tests2.sh
Dennis Heimbigner 6d8809100f Fix pull request https://github.com/Unidata/netcdf-c/pull/374 (dap4.dmh)
1. When running under windows (as opposed to cygwin)
   we need to make sure to not user /cygdrive/ file paths.
   This was ocurring in libdap4/d4read.c, but may occur
   elsewhere.
2. Shell scripts in the git repo are not being checked-out
   with the executable mode set. Had core.filemode set to false.
   Was a major hassle to fix.
2017-04-03 21:39:44 -06:00

12 lines
307 B
Bash
Executable File

#!/bin/sh
# This shell script runs the ncdump tests.
# $Id: run_tests2.sh,v 1.3 2009/09/24 18:19:11 dmh Exp $
echo "*** creating test0.nc from test0.cdl..."
if !(${NCDUMP} -n c1 $(srcdir)/ctest0.nc > ctest1.cdl); then
echo "ncgen3 test failed! Sorry!" && exit 1
fi
echo "*** Tests successful!"
exit 0