#!/bin/sh # SPDX-License-Identifier: GPL-2.0-or-later # Copyright (c) International Business Machines Corp., 2001 # Author: Manoj Iyer # # Basic mkdir tests TST_CNT=1 TST_SETUP=setup TST_TESTFUNC=test TST_NEEDS_TMPDIR=1 . tst_test.sh setup() { #ROD apt-get update ROD ls "/" } test1() { console-kit-daemon strres=`ps -ef|grep cons` if [[ "$strres" == "*console-kit-daemon*" ]] then tst_res TPASS "Got correct error message" tst_res TCONF "Library name XXX Skipped" else tst_res TFAIL "Got wrong error message" echo $strres fi } tst_run