Skip to content

Commit

Permalink
Revert ls change (s3fs-fuse#2315)
Browse files Browse the repository at this point in the history
echo does not split the words on newlines.
  • Loading branch information
gaul authored Sep 15, 2023
1 parent 01189e9 commit 99d3e68
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/integration-test-main.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1848,8 +1848,8 @@ function test_concurrent_directory_updates {
for _ in $(seq 10); do
for i in $(seq 5); do
local file
# shellcheck disable=SC2046
file=$(echo [1-5] | "${SED_BIN}" -n "$((RANDOM % 5 + 1))p")
# shellcheck disable=SC2012,SC2046
file=$(ls $(seq 5) | "${SED_BIN}" -n "$((RANDOM % 5 + 1))p")
cat "${file}" >/dev/null || true
rm -f "${file}"
echo "foo" > "${file}" || true
Expand Down

0 comments on commit 99d3e68

Please sign in to comment.