#!/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 install xdg-utils echo "ltp:oe-core.extended testcase: xdg-utils" } test1() { xdg-open > /opt/oe-core-extended.out if grep -q "Use 'man xdg-open' or 'xdg-open" /opt/oe-core-extended.out; then tst_res TPASS "Got correct error message" else tst_res TFAIL "Got wrong error message" fi } tst_run