123456789101112131415161718192021222324252627282930313233343536373839404142 |
- #!/bin/sh
- # SPDX-License-Identifier: GPL-2.0-or-later
- # Copyright (c) International Business Machines Corp., 2001
- # Author: Manoj Iyer <manjo@mail.utexas.edu>
- #
- # Basic mkdir tests
- TST_CNT=1
- TST_SETUP=setup
- TST_TESTFUNC=test
- TST_CLEANUP=cleanup
- TST_NEEDS_TMPDIR=1
- . tst_test.sh
- setup()
- {
- echo "ltp:meta-oe/gnome/gnome//gnome-desktop3.sh.gnome-desktop3 setup ==================="
- #ROD apt-get update
- ROD nohup apt-get install --allow-unauthenticated -y gnome-desktop3 > /opt/out.txt 2>&1
- cat /opt/out.txt
- }
- test1()
- {
- strres=`dpkg -L gnome-desktop3 2>&1`
- if [[ "$strres" == */usr/lib/girepository-1.0/GnomeDesktop-3.0.typelib* ]]
- then
- tst_res TPASS "Got correct error message"
- else
- tst_res TFAIL "Got wrong error message"
- echo $strres
- fi
- }
- cleanup()
- {
- echo "meta-oe/gnome/gnome//gnome-desktop3.sh.gnome-desktop3 cleanup ==================="
- #ROD nohup apt-get remove --allow-unauthenticated -y gnome-desktop3 > /opt/out.txt 2>&1
- cat /opt/out.txt
- }
- tst_run
|