"How to achieve a maximum of standardization while at the same time recognizing newer developments in the Unix systems programming area?"
For historical, simple, practical and portable reasons my scripts start normally with "#!/bin/sh", hence I restrict myself to those features available in the Bourne Shell.
The few cases where I would use ksh or bash is if I know this script is targetted at some subset of platforms where that is available and required for the job. If it's not required, then back to good old sh.
I also use "test" rather than [ or [[ as I like to see blatently what a script is really doing. Ie, my model is that
hence I am more than happy to use "if" with many other programs, not just test or some link to it.
I have some scripts that run in Windows, and the ability to put a GUI
layer over them is kind of appealing. So when I stumbled over
http://wizapp.sourceforge.net/ I thought that was rather cute.
(Reading the "advanced batch scripting" art of the manual impresses upon me that no sane person... (2 Replies)
Hi
I am starting a project in which I want to use APR for
portability.
I download APR version 1.2.2 from "http://apr.apache.org/download.cgi#apr1"
and I am using Redhat/Linux 9.
As I am a newbie to APR and I have no prior experience of
using APR, so I started learning it from:... (0 Replies)
Dear Experts,
I want to write a script which has to work on Solaris & Linux sytems.
The problem which i am facing is, there are commands whose options are different on both OS's. For example ping.
On Solaris i have to write:
ping $host 1
to check if the host is alive
On Linux i... (4 Replies)
Hey guys/gals,
I work with a large amount of servers, and was just curious if it is possible to make a linux AV app, portable. What i mean is, I go to a user's home directory and do something like ./clamavscan (I suppose an alias for clamscan..), and it scans the user's home directory for... (2 Replies)
What I have been doing for some time now is installing linux on my tech machine at work, plugging in devices and transferring data with dd_rescue.
What I need now is a version of linux that I can install on a laptop sata hard drive and be able to plug it into any machine to transfer data off of... (1 Reply)
Hello
Im stuck with a project on converting existing applications in to their portable versions, What i mean is that i want an application to run on a Linux OS without the need of actually installing the application on that machine. My preffered OS is fedora as it is used on most machines in my... (0 Replies)
Hello
Im stuck with a project on converting existing applications in to their portable versions, What i mean is that i want an application to run on a Linux OS without the need of actually installing the application on that machine. My preffered OS is fedora as it is used on most machines in my... (1 Reply)
Hello
Im stuck with a project on converting existing applications in to their portable versions, What i mean is that i want an application to run on a Linux OS without the need of actually installing the application on that machine. My preffered OS is fedora as it is used on most machines in my... (1 Reply)
Hello
Im stuck with a project on converting existing applications in to their portable versions, What i mean is that i want an application to run on a Linux OS without the need of actually installing the application on that machine. My preffered OS is fedora as it is used on most machines in my... (1 Reply)
Hi. I am looking for a way to write C++ code that will kill a process, and works just the same way in both Unix and Windows. For my particular situation, it cannot be hundreds of lines of code, either. Thanks in advance for any light you can shed on this.
Brandon (5 Replies)
Discussion started by: BrandonShw
5 Replies
LEARN ABOUT FREEBSD
atf
ATF(7) BSD Miscellaneous Information Manual ATF(7)NAME
ATF -- introduction to the Automated Testing Framework
DESCRIPTION
The Automated Testing Framework (ATF) is a collection of libraries to implement test programs in a variety of languages. These libraries all
offer similar functionality and any test program written with them exposes a consistent user interface.
Test programs using the ATF libraries rely on a separate runtime engine to execute them in a deterministic fashion. The runtime engine iso-
lates the test programs from the rest of the system and ensures some common side-effects are cleaned up. The runtime engine is also respon-
sible for gathering the results of all tests and composing reports. The current runtime of choice is Kyua, described in kyua(1).
If your operating systems distributes ATF, it should also provide an introductory tests(7) manual page. You are encouraged to read it now.
The rest of this manual page serves as a cross-reference to all the other documentation shipped with ATF.
Language bindings
atf-c(3) C programming interface.
atf-c++(3) C++ programming interface.
atf-sh(3)sh(1) programming interface.
Miscellaneous pages
atf-test-case(4) Generic description of test cases, independent of the language they are implemented in.
atf-test-program(1) Common interface provided by the test programs written using the ATF libraries.
SEE ALSO kyua(1), tests(7)HISTORY
ATF started as a Google Summer of Code 2007 project mentored by The NetBSD Foundation. Its original goal was to provide a testing framework
for the NetBSD operating system, but it grew as an independent project because the framework itself did not need to be tied to a specific
operating system.
Originally, ATF shipped the collection of libraries described in this manual page as well as a runtime engine. The runtime engine has since
been replaced by Kyua and the old tools were removed in 0.20, which shipped in early 2014.
As of late 2014, both FreeBSD and NetBSD ship ATF in their base systems and provide extensive test suites based on it.
For more details on historical changes, refer to:
/usr/share/doc/atf/NEWS
AUTHORS
For more details on the people that made ATF possible, refer to:
/usr/share/doc/atf/AUTHORS
BSD September 14, 2014 BSD