1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-02-15 11:52:15 +02:00
Files
coreutils/tests/sample-test

43 lines
1.2 KiB
Plaintext
Raw Normal View History

2000-08-24 08:40:47 +00:00
#!/bin/sh
# FIXME
# Copyright (C) 2008 Free Software Foundation, Inc.
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
2000-08-24 08:40:47 +00:00
if test "$VERBOSE" = yes; then
set -x
FIXME --version
fi
2000-12-10 09:20:35 +00:00
# FIXME: . $srcdir/../envvar-check
# FIXME: . $srcdir/../lang-default
2001-09-02 15:19:27 +00:00
# FIXME: PRIV_CHECK_ARG=require-root . $srcdir/../priv-check
. $srcdir/../test-lib.sh
# FIXME skip_if_root_
2000-12-10 09:20:35 +00:00
# If used, these must *follow* test-lib.sh.
# FIXME: cleanup_() { rm -rf "$other_partition_tmpdir"; }
# FIXME: . "$abs_top_srcdir/tests/other-fs-tmpdir"
2000-08-24 08:40:47 +00:00
fail=0
2001-11-03 21:44:36 +00:00
FIXME > out || fail=1
cat <<\EOF > exp || fail=1
2001-08-04 15:16:37 +00:00
FIXME
2001-11-03 21:44:36 +00:00
EOF
compare out exp || fail=1
2000-08-24 08:40:47 +00:00
(exit $fail); exit $fail