+2011-03-01 Stefano Lattarini <stefano.lattarini@gmail.com>
+
+ tests: extend checks on the 'unindent' shell function
+ * tests/self-check-unindent.test: Also check that multiple
+ instances of 'unindent' can run in parallel (this was not
+ the case when that function used temporary files).
+
2011-03-01 Peter Rosin <peda@lysator.liu.se>
test defs: unindent without temporary file
END
unindent input > got
+diff exp got
+unindent input | unindent > got
diff exp got
#------------------------------------------------------------------
END
unindent input > got
+diff exp got
+unindent input | unindent > got
diff exp got
#------------------------------------------------------------------
cp input exp
unindent input > got
+diff exp got
+unindent input | unindent > got
diff exp got
#------------------------------------------------------------------
END
unindent input > got
+diff exp got
+unindent input | unindent > got
diff exp got
#------------------------------------------------------------------
END
unindent input > got
+diff exp got
+unindent input | unindent > got
diff exp got
#------------------------------------------------------------------
+: More elaborated parallel use
+
+cat > input <<END
+ x
+ ${tab}y
+ z
+ ${tab}a
+ ${tab} b
+${tab}c
+ ${tab}d
+ ${tab}e
+ ${tab}${tab}f
+END
+
+cat > exp <<END
+y
+z
+a
+ b
+c
+ ${tab}d
+ ${tab}e
+${tab}f
+END
+
+unindent input | sed 1d | unindent > got
+diff exp got
+
: