summaryrefslogtreecommitdiff
path: root/tests/sample-test
diff options
context:
space:
mode:
authorEric Blake <eblake@redhat.com>2010-10-01 09:38:50 -0600
committerEric Blake <eblake@redhat.com>2010-10-01 10:20:39 -0600
commit1129cb58bae34419e1b8bebbe1bb0a7ec9a9cca7 (patch)
treea702feea41e95a6ef51d0de9834328edc9122e81 /tests/sample-test
parent288bfea72cfb645e1635e6ae62e4cd2aac57e826 (diff)
downloadcoreutils-1129cb58bae34419e1b8bebbe1bb0a7ec9a9cca7.tar.gz
coreutils-1129cb58bae34419e1b8bebbe1bb0a7ec9a9cca7.tar.bz2
coreutils-1129cb58bae34419e1b8bebbe1bb0a7ec9a9cca7.zip
maint: update sample test template
* tests/sample-test: Recommend modern idiom.
Diffstat (limited to 'tests/sample-test')
-rw-r--r--tests/sample-test7
1 files changed, 1 insertions, 6 deletions
diff --git a/tests/sample-test b/tests/sample-test
index 85a61cf54..85b779f07 100644
--- 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_