NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

bin/38746: installed atf tests ought to chdir or something

>Number:         38746
>Category:       bin
>Synopsis:       installed atf tests ought to chdir or something
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun May 25 18:00:01 +0000 2008
>Originator:     David A. Holland <>
>Release:        NetBSD 4.99.54 (20080229), 4.99.63 (20080524)
System: NetBSD tanaqui 4.99.54 NetBSD 4.99.54 (TANAQUI) #21: Fri Feb 29 
12:31:31 EST 2008 dholland@tanaqui:/usr/src/sys/arch/i386/compile/TANAQUI i386
Architecture: i386
Machine: i386

tanaqui% pwd
tanaqui% /usr/tests/util/sh/t_set_e
t_set_e: ERROR: Cannot find the test program in the source directory
t_set_e: `/home/dholland'
Exit 1
tanaqui% atf-run /usr/tests/util/sh/t_set_e
atf-run: ERROR: Cannot open Atffile

This behavior is not helpful.

It appears you have to chdir to /usr/tests/util/sh (or, apparently,
/usr/src/tests/util/sh/obj) to run the tests contained therein.

As above.


chdir `dirname $0`?

Home | Main Index | Thread Index | Old Index