aboutsummaryrefslogtreecommitdiff
path: root/test/T380-atomicity.sh
diff options
context:
space:
mode:
authorTomi Ollila <tomi.ollila@iki.fi>2022-02-21 00:30:45 +0200
committerDavid Bremner <david@tethera.net>2022-02-21 09:36:39 -0400
commit08da7f25e5ebf6536002c9a544d687a1d28aea3e (patch)
treeef06e62e06dcead57cc24e6deb7ed8fdf98c9a5f /test/T380-atomicity.sh
parent999706c4d506f77fcef2a3d5d1c6bfe65c8db791 (diff)
removed use of 'echo -n' (and echo -n -e ...)
In most cases used printf %s ... instead. echo -n > file lines to create empty / truncate files were changed to : > file lines, like done in in test-lib-emacs.sh And one echo -n " " replaced with use of sed "s/^/ /" in next line.
Diffstat (limited to 'test/T380-atomicity.sh')
-rwxr-xr-xtest/T380-atomicity.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/T380-atomicity.sh b/test/T380-atomicity.sh
index afe49d93..0f9e6d2e 100755
--- a/test/T380-atomicity.sh
+++ b/test/T380-atomicity.sh
@@ -71,8 +71,8 @@ if test_require_external_prereq gdb; then
# Check output against golden output
outcount=$(cat outcount)
- echo -n > searchall
- echo -n > expectall
+ : > searchall
+ : > expectall
for ((i = 0; i < $outcount; i++)); do
if ! cmp -s search.$i expected; then
# Find the range of interruptions that match this output