]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - tests/lib.sh.test.out
lib.sh: Improve installed() to work with more which.
[config/dotfiles.git] / tests / lib.sh.test.out
index ed7a77bfa1b5496c3a3320435ae4e86ae782a042..7139144dc00d1dc25fd1f8340ef5f3bc35855c0a 100644 (file)
@@ -1,8 +1,10 @@
+stdout which
 ls installed
-Mac OS X which for ls
+stderr which
 ls installed
-Mac OS X which for doesnt-exist
-m4: generating 'tmp/test' from 'tmp/test.m4'
+stupid which
+ls installed
+m4: generating 'tmp/test' from 'tmp/test.m4' with options '-DTEST=m4'
 ###################################
 # WARNING! DO NOT EDIT THIS FILE! #
 ###################################
@@ -10,7 +12,7 @@ m4: generating 'tmp/test' from 'tmp/test.m4'
 
 Simple test file for generate() using m4.
     m4
-m4: generating 'tmp/test-multiple' from 'tmp/test-multiple.m4'
+m4: generating 'tmp/test-multiple' from 'tmp/test-multiple.m4' with options '-DFIRST=first -DSECOND=second'
 ###################################
 # WARNING! DO NOT EDIT THIS FILE! #
 ###################################
@@ -20,7 +22,7 @@ Test with multiple arguments passed to generate().
 first: first
 second: second
 
-m4: generating 'tmp/test-multiple-spaces' from 'tmp/test-multiple-spaces.m4'
+m4: generating 'tmp/test-multiple-spaces' from 'tmp/test-multiple-spaces.m4' with options '-DFIRST=first with spaces -DSECOND=second with spaces'
 ###################################
 # WARNING! DO NOT EDIT THIS FILE! #
 ###################################
@@ -30,7 +32,7 @@ Test with multiple arguments with spaces passed to generate().
 first: first with spaces
 second: second with spaces
 
-awk: generating 'tmp/test-awk' from 'tmp/test-awk.in'
+awk: generating 'tmp/test-awk' from 'tmp/test-awk.in' with options '{ print $1 }'
 ###################################
 # WARNING! DO NOT EDIT THIS FILE! #
 ###################################
@@ -39,6 +41,15 @@ awk: generating 'tmp/test-awk' from 'tmp/test-awk.in'
 Simple
 first
 
+perl: generating 'tmp/test-perl' from 'tmp/test-perl.in' with options '-p -e s/first/best/'
+###################################
+# WARNING! DO NOT EDIT THIS FILE! #
+###################################
+
+
+Simple test fiel for generate() using perl.
+best second
+
 cat: generating 'tmp/test-cat' from 'tmp/test-cat.real'
 ###################################
 # WARNING! DO NOT EDIT THIS FILE! #