mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-04 16:49:40 +00:00
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
f6040f9e8e
commit
288ebd813a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=321472
@ -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…
Reference in New Issue
Block a user