diff options
author | Martijn Dekker <martijn@inlv.org> | 2020-01-10 11:13:26 +0100 |
---|---|---|
committer | Arnold Robbins <arnold@skeeve.com> | 2020-01-10 12:13:26 +0200 |
commit | 2976507cc10587a8d6d540c099b1d481547d7807 (patch) | |
tree | bb21f3e34a2910b3aefeb23cd939e8f500c2d619 /testdir/T.csconcat | |
parent | 944989bf683d30f306d8f29a3eb8c68c7c603fb4 (diff) | |
download | one-true-awk-2976507cc10587a8d6d540c099b1d481547d7807.tar.gz |
rename T.concat to T.csconcat to avoid case-insensitive conflict (#64)
On case-insensitive file systems (i.e.: macOS), T.concat and
t.concat are the same file, so these conflicted. This commit
renames T.concat to avoid the conflict.
Diffstat (limited to 'testdir/T.csconcat')
-rwxr-xr-x | testdir/T.csconcat | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/testdir/T.csconcat b/testdir/T.csconcat new file mode 100755 index 0000000..5199600 --- /dev/null +++ b/testdir/T.csconcat @@ -0,0 +1,29 @@ +echo T.csconcat: test constant string concatentation + +awk=${awk-../a.out} + +$awk ' +BEGIN { + $0 = "aaa" + print "abcdef" " " $0 +} +BEGIN { print "hello" "world"; print helloworld } +BEGIN { + print " " "hello" + print "hello" " " + print "hello" " " "world" + print "hello" (" " "world") +} +' > foo1 + +cat << \EOF > foo2 +abcdef aaa +helloworld + + hello +hello +hello world +hello world +EOF + +diff foo1 foo2 || echo 'BAD: T.csconcat (1)' |