aboutsummaryrefslogtreecommitdiff
path: root/testcases/lib
diff options
context:
space:
mode:
authorPetr Vorel <pvorel@suse.cz>2019-03-27 17:27:38 +0100
committerPetr Vorel <pvorel@suse.cz>2019-03-27 17:41:54 +0100
commit32fbecbe14ca44e8ad02cc84e29699d72b6f9171 (patch)
treeabe860966fd566c89f7d6ad6479a19ca0e52f570 /testcases/lib
parent2d77ca10e6ab9d90fc42ecbaf54bf3525c6d2db1 (diff)
shell: Remove tst_su
tst_su() was added only into legacy (but at the time the only) shell API. Last user of it was removed in 0fc9b8624, thus remove it. Fixes: 0fc9b8624 Remove admin_tools test Acked-by: Cyril Hrubis <chrubis@suse.cz> Signed-off-by: Petr Vorel <pvorel@suse.cz>
Diffstat (limited to 'testcases/lib')
-rw-r--r--testcases/lib/test.sh9
1 files changed, 0 insertions, 9 deletions
diff --git a/testcases/lib/test.sh b/testcases/lib/test.sh
index 954f2a22a..670248ee5 100644
--- a/testcases/lib/test.sh
+++ b/testcases/lib/test.sh
@@ -368,15 +368,6 @@ tst_module_exists()
tst_brkm TCONF "Failed to find module '$mod_name'"
}
-# Appends LTP path when doing su
-tst_su()
-{
- local usr="$1"
- shift
-
- su "$usr" -c "PATH=\$PATH:$LTPROOT/testcases/bin/ $@"
-}
-
TST_CHECKPOINT_WAIT()
{
ROD tst_checkpoint wait 10000 "$1"