eccodes/tests/grib_list_keys.sh

24 lines
667 B
Bash
Raw Normal View History

2024-05-01 14:50:18 +00:00
#!/bin/sh
# (C) Copyright 2005- ECMWF.
#
# This software is licensed under the terms of the Apache Licence Version 2.0
# which can be obtained at http://www.apache.org/licenses/LICENSE-2.0.
#
# In applying this licence, ECMWF does not waive the privileges and immunities granted to it by
# virtue of its status as an intergovernmental organisation nor does it submit to any jurisdiction.
#
. ./include.ctest.sh
label="grib_list_keys_test"
tempOut=temp.$label.txt
if [ -d "$ECCODES_DEFINITION_PATH" ]; then
2024-05-01 15:02:43 +00:00
if [ -x "${tools_dir}/grib_list_keys" ]; then
${tools_dir}/grib_list_keys $ECCODES_DEFINITION_PATH/boot.def
fi
2024-05-01 14:50:18 +00:00
fi
# Clean up
rm -f $tempOut