aboutsummaryrefslogtreecommitdiffstats
path: root/tests/t-argparse.conf
diff options
context:
space:
mode:
Diffstat (limited to 'tests/t-argparse.conf')
-rw-r--r--tests/t-argparse.conf11
1 files changed, 8 insertions, 3 deletions
diff --git a/tests/t-argparse.conf b/tests/t-argparse.conf
index 4e0dc8a..a42d1a1 100644
--- a/tests/t-argparse.conf
+++ b/tests/t-argparse.conf
@@ -33,6 +33,7 @@ verbose
[getenv home $HOME]
[if $home =~ home ]
[-echo in home condition]
+[fi]
[expand]
[if $foo -n ]
cross-ref "$home/project/$user.crf"
@@ -48,12 +49,16 @@ verbose
street Mühlenstraße
[getreg x hkcu\fhghfkhkfh]
-[if $_windows -n]
-[if $x -n]
- trusted-key $x
+[if $_windows]
+[if $x]
+ street $x
[fi]
[fi]
+# Print some infos from our strusage function
+[-echo strusage(9)=${_strusage9}]
+[-echo strusage(11)=${_strusage11}]
+[-echo strusage(13)=${_strusage13}]
[-echo pgm="$_pgm" ver="$_version"]
[if $_version -v3gt 6.42.16]
[-echo is > 6.42.16]