DEJAGNU(1)
π dejagnu(1) β the DejaGnu auxiliary command launcher π
okay bestie, welcome to the LOCAL manual section, it's giving "small tool, big responsibility" and honestly? we're obsessed. this page is all about dejagnu, the little launcher that finds your commands and runs them. no cap. π
β¨ NAME β¨
dejagnu β DejaGnu auxiliary command launcher
πΈ SYNOPSIS πΈ
dejagnu β¨commandβ© [--help | options...]
dejagnu --help
dejagnu --version
π¦ DESCRIPTION π¦
so here's the vibe, bestie: the dejagnu command goes looking for a script that implements whatever command you asked for. if there's more than one implementation floating around, it picks one according to a fixed internal list (we don't make the rules, we just follow them π
). then it runs the thing. that's it. that's the whole job. main character energy but make it infrastructure. β¨
π OPTIONS π
--helpβ prints a help message instead of running a command. and if you didn't give a command at all? it just prints the brief usage fordejagnuitself. cute, low-effort, we love it. π«Ά-V,--versionβ prints a version banner for the launcher itself, including the version of DejaGnu. heads up though: any command you gave is completely ignored. like, not even a little bit used. sorry babe. π-v,--verboseβ emits extra output describing what thedejagnulauncher itself is doing. and plot twist: this option also gets passed on to the invoked command. double the tea, double the info. π₯
also, fr fr: all arguments after the command name are passed straight to the invoked command. everything. no filtering. π
π ENVIRONMENT π
DEJAGNULIBSβ if it's set, this is the location of DejaGnu's library in the filesystem. and if it's set, the whole search described down in FILES does not happen. periodt.AWKβ the full file name for an Awk interpreter that may or may not actually be GNU Awk (the audacity, honestly). if it's not set,PATHgets searched for anawkprogram. and if the Awk interpreter is actually GNU Awk, the--posixoption will be given if an Awk implementation is used.GAWKβ full file name for GNU Awk. if it's not set,PATHgets searched for agawkprogram.BASHβ full file name for GNU Bash. if it's not set,PATHgets searched for abashprogram. note that Bash itself sets this variable β even when run assh, even when running a script. sneaky little thing. πEXPECTβ full file name for Expect, which is a Tcl interpreter with the Expect extension already loaded. if it's not set,PATHgets searched for anexpectprogram. and ngl, the DejaGnu core is written in Expect, so this interpreter should always be available. like, always. π«ΆTCLSHβ full file name for a Tcl interpreter. if it's not set,PATHgets searched for atclshprogram.
okay so, the lore: GNU Awk is considered a superset of Awk, and Expect is considered a superset of Tcl, which means the former can run scripts written for the latter. slay, honestly. the practical fallout is this: Awk programs will generally be run with GNU extensions disabled using the --posix option to GNU Awk, but Tcl programs may be run with either tclsh or expect β so write them accordingly. iykyk. π
π FILES π
$DEJAGNULIBS/commandsβ ifDEJAGNULIBSis set, all command scripts are expected to be in this directory. no exceptions bestie.
otherwise, the first directory that actually exists in the following list is used, where @bindir@ represents the directory containing dejagnu itself:
@bindir@/../share/dejagnu/commands
@bindir@/../../share/dejagnu/commands
/usr/share/dejagnu/commands
/usr/local/share/dejagnu/commands
β SEE ALSO β
the full documentation for DejaGnu is maintained as a Texinfo manual. if the info program is properly installed at your site, this command:
info dejagnu
should give you access to the complete manual. go read it, bestie, it's giving β¨knowledgeβ¨.
π AUTHORS π
Jacob Bachmeyer
π BUGS π
the command name must precede all other arguments, due to limitations of the shell. yeah. we know. it's a whole thing. the shell said no and we respect its boundaries. π
πΈ that's the whole page, bestie πΈ β this was the GNU version, dated December 17, 2018, and it lives in the DEJAGNU(1) manual section. go forth and launch commands responsibly. mwah. π
ππ¦
π¦ where this page comes from
- alpine 3.22: dejagnu-doc 1.6.3-r0 Β· GPL-3.0-or-later
- alpine 3.23: dejagnu-doc 1.6.3-r0 Β· GPL-3.0-or-later
- alpine 3.24: dejagnu-doc 1.6.3-r1 Β· GPL-3.0-or-later
- arch rolling: dejagnu 1.6.3-21 Β· GPL
- centos-stream 10: dejagnu 1:1.6.3-11.el10 Β· GPLv3+
- centos-stream 9: dejagnu 1:1.6.3-2.el9 Β· GPLv3+
- debian bookworm: dejagnu 1.6.3-1 Β· GPL-3.0-only
- debian trixie: dejagnu 1.6.3-1.1 Β· GPL-3.0-only
- fedora 43: dejagnu 1:1.6.3-13.fc43 Β· GPL-3.0-or-later AND GFDL-1.3-or-later
- fedora 44: dejagnu 1:1.6.3-16.fc44 Β· GPL-3.0-or-later AND GFDL-1.3-or-later
- fedora 44: dejagnu 1:1.6.3-18.fc44 Β· GPL-3.0-or-later AND GFDL-1.3-or-later
- nixos 26.05: dejagnu 1.6.3
- nixpkgs unstable: dejagnu 1.6.3
- opensuse-leap 16.0: dejagnu 1.6.3-160000.2.2 Β· GPL-3.0-or-later
- ubuntu noble: dejagnu 1.6.3-1 Β· GPL-3.0-only
- ubuntu questing: dejagnu 1.6.3-1.1
- ubuntu resolute: dejagnu 1.6.3-2 Β· GPL-3.0-only
- ubuntu stonking: dejagnu 1.6.3-3 Β· GPL-3.0-only
- Copyright (C) 2018 Free Software Foundation, Inc
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms