Index: ncdump/test_scope.sh
--- ncdump/test_scope.sh.orig
+++ ncdump/test_scope.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 
 if test "x$srcdir" = x ; then srcdir=`pwd`; fi 
 . ../test_common.sh
@@ -27,7 +27,7 @@ setup() {
 testcycle() {
 ${NCCOPY} ${execdir}/$1.nc ${execdir}/$1_copy.nc
 ${NCDUMP} -h -n $1 ${execdir}/$1_copy.nc > copy_$1.cdl
-diff -wB ${srcdir}/$1.cdl ${execdir}/copy_$1.cdl
+gdiff -wB ${srcdir}/$1.cdl ${execdir}/copy_$1.cdl
 }
 
 typescope() {
