"Fossies" - the Fresh Open Source Software Archive

Member "argbash-2.10.0/tests/regressiontests/test-progs.m4" (22 Sep 2020, 520 Bytes) of package /linux/privat/argbash-2.10.0.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Bash source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file.

    1 #!/bin/bash -e
    2 
    3 # ARG_VERSION([echo "$0 FOO"])
    4 # ARG_USE_PROGRAM([fulala], [FULALA], [fulala doesnt exist], [Testing program m4_fatal(BOOM!)])
    5 # ARG_USE_PROGRAM([make], [MAKE], [GNU make missing], [GNU make - utility used for automation])
    6 # ARG_HELP([Testing program m4_fatal(BOOM!)], [m4_fatal([CRASH!])])
    7 # ARGBASH_GO()
    8 
    9 # [ <-- needed because of Argbash
   10 
   11 "$MAKE" --version > /dev/null || die "make doesnt work"
   12 
   13 # ] <-- needed because of Argbash
   14 m4_ifdef([m4_esyscmd], [m4_fatal([The m4_esyscmd macro is enabled!])])