diff options
author | Jim Meyering <meyering@redhat.com> | 2012-05-25 18:10:25 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2012-06-06 22:33:08 +0200 |
commit | 928dd73762e69cfeaab4a7ec9dd8f30f86a45ed4 (patch) | |
tree | d516a7d38c14b3a650b2ac9225be6028297a38fc /tests/misc | |
parent | 7b6ce030cc54b34c7fc8a87a0c89137fb5c78a50 (diff) | |
download | coreutils-928dd73762e69cfeaab4a7ec9dd8f30f86a45ed4.tar.xz |
su: remove program (util-linux is now the best source for it)
* README: Omit "su" from list of programs.
* src/su.c: Remove file.
* src/Makefile.am: Remove su-related rules and variables.
* tests/misc/su-fail: Remove test.
* tests/Makefile.am (TESTS): Remove misc/su-fail.
* tests/misc/invalid-opt: Remove su-related code.
* src/.gitignore: Remove su.
* man/su.x: Remove file.
* man/Makefile.am (su.1): Remove rule.
* po/POTFILES.in: Remove su.c from the list.
* TODO: Remove ancient entry.
* NEWS (Changes in behavior): Mention it.
* doc/coreutils.texi: Remove su-related description.
* AUTHORS: Remove su.
* m4/lib-check.m4 (cu_LIB_CHECK): Remove file/macro.
* configure.ac: Remove su-related code and sole use of cu_LIB_CHECK.
* scripts/git-hooks/commit-msg: Remove su from this list, too.
Diffstat (limited to 'tests/misc')
-rwxr-xr-x | tests/misc/help-version | 1 | ||||
-rwxr-xr-x | tests/misc/invalid-opt | 1 | ||||
-rwxr-xr-x | tests/misc/su-fail | 30 |
3 files changed, 0 insertions, 32 deletions
diff --git a/tests/misc/help-version b/tests/misc/help-version index 7416062fa..e19f5b1c0 100755 --- a/tests/misc/help-version +++ b/tests/misc/help-version @@ -208,7 +208,6 @@ nohup_setup () { args=--version; } printf_setup () { args=foo; } seq_setup () { args=10; } sleep_setup () { args=0; } -su_setup () { args=--version; } stdbuf_setup () { args="-oL true"; } timeout_setup () { args=--version; } diff --git a/tests/misc/invalid-opt b/tests/misc/invalid-opt index 8eae3c275..8f7024c6f 100755 --- a/tests/misc/invalid-opt +++ b/tests/misc/invalid-opt @@ -36,7 +36,6 @@ my %exit_status = nohup => 125, sort => 2, stdbuf => 125, - su => 125, test => 0, timeout => 125, true => 0, diff --git a/tests/misc/su-fail b/tests/misc/su-fail deleted file mode 100755 index c2e0475d2..000000000 --- a/tests/misc/su-fail +++ /dev/null @@ -1,30 +0,0 @@ -#!/bin/sh -# Test su failure cases - -# Copyright (C) 2009-2012 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/>. - -. "${srcdir=.}/init.sh"; path_prepend_ ../src -print_ver_ su - -require_built_ su - -# Very little that we can test without a root password -su --- / true # unknown option -test $? = 125 || fail=1 -su no_such_user -test $? = 125 || fail=1 - -Exit $fail |