SVNews r318436

NOTE: This service is experimental and subject to change! Use at your own risk!

2017-05-18 01:43:30 - r318436 by ngie (ngie)

Complete list of files affected by revision r318436:

(Note: At the moment, these links point to ViewVC on svn.freebsd.org. They are probably slow. Do not overuse.)

  History   Contents   Diff   MODIFY   /head/etc/mtree/BSD.tests.dist  
  History   Contents   Diff   MODIFY   /head/usr.bin/getconf/Makefile  
  History   Contents   Diff   MODIFY   /head/usr.bin/getconf/getconf.h  
   Contents     ADD   /head/usr.bin/getconf/tests  
  History   Contents     ADD   /head/usr.bin/getconf/tests/Makefile  
  History   Contents     ADD   /head/usr.bin/getconf/tests/arch_type.c  
  History   Contents     ADD   /head/usr.bin/getconf/tests/getconf_test.sh  

Commit message:

usr.bin/getconf: add some initial tests

Items tested via this commit are:
- Some basic POSIX constants.
- Some valid programming environments with -v.
- Some invalid programming environments via -v.

NOTE: this test makes assumptions about ILP32/LP32 vs LP64 that are
currently not true on all architectures to avoid hardcoding some
architectures in the tests. I'm working on improving getconf(1) to be
more sane about handling ILP32/LP32 vs LP64. Future commits are coming
soon to address this.

MFC after: 2 weeks
Tested with: amd64, i386
Sponsored by: Dell EMC Isilon

 


Powered by Python FreeBSD support by secnetix GmbH & Co. KG

Page generated in 17 ms, 7 files printed. Current time is 2017-05-28 04:56:54. All times are in UTC/GMT.