projects
/
platform
/
upstream
/
coreutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
288bfea
)
maint: update sample test template
author
Eric Blake
<eblake@redhat.com>
Fri, 1 Oct 2010 15:38:50 +0000
(09:38 -0600)
committer
Eric Blake
<eblake@redhat.com>
Fri, 1 Oct 2010 16:20:39 +0000
(10:20 -0600)
* tests/sample-test: Recommend modern idiom.
tests/sample-test
patch
|
blob
|
history
diff --git
a/tests/sample-test
b/tests/sample-test
index
85a61cf
..
85b779f
100644
(file)
--- a/
tests/sample-test
+++ b/
tests/sample-test
@@
-16,12
+16,7
@@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-if test "$VERBOSE" = yes; then
- set -x
- FIXME --version
-fi
-
-. $srcdir/test-lib.sh
+. "${srcdir=.}/init.sh"; path_prepend_ ../src
# FIXME: skip_if_root_
# FIXME: require_root_