Bug 6740 - Test suite fails to run on QNX because whoami doesn't exist
Test suite fails to run on QNX because whoami doesn't exist
Status: RESOLVED FIXED
Product: Samba 3.5
Classification: Unclassified
Component: Build environment
unspecified
Other Other
: P3 normal
: ---
Assigned To: Björn Jacke
Samba QA Contact
http://build.samba.org/?function=View...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-09-17 09:22 UTC by Matt Kraai
Modified: 2009-10-11 05:46 UTC (History)
0 users

See Also:


Attachments
Use the method used by build_env.sh to discover the user name (1.04 KB, patch)
2009-09-17 09:23 UTC, Matt Kraai
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matt Kraai 2009-09-17 09:22:14 UTC
The Samba 3 test suite fails to run on QNX with the following errors:

/home/build/build_farm/samba_3_master/source/script/tests/selftest.sh[60]: whoami: cannot execute - No such file or directory
CREATE TEST ENVIRONMENT IN './st'...You must specify a username
make: *** [test] Error 1

QNX does not provide whoami.
Comment 1 Matt Kraai 2009-09-17 09:23:58 UTC
Created attachment 4712 [details]
Use the method used by build_env.sh to discover the user name
Comment 2 Björn Jacke 2009-10-11 05:46:33 UTC
Thanks, Matt! Fixed in master.