The test case common.funcs.t_dtrace_contrib.tst_basename_d generates a
verifying script which needs being run to complete the test. While here, add missing shebang. Reviewed by: gnn, markj, ngie Differential Revision: https://reviews.freebsd.org/D11716
This commit is contained in:
parent
cc5b04df01
commit
dbd5eba188
@ -1,3 +1,5 @@
|
||||
#!/bin/sh
|
||||
|
||||
# $FreeBSD$
|
||||
|
||||
usage()
|
||||
@ -84,6 +86,12 @@ runtest()
|
||||
;;
|
||||
esac
|
||||
|
||||
if [ $retval -eq 0 ] && \
|
||||
head -n 1 $STDOUT | grep -q -E '^#!/.*ksh$'; then
|
||||
ksh $STDOUT
|
||||
retval=$?
|
||||
fi
|
||||
|
||||
return $retval
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user