Skip to content

Commit

Permalink
test: fix tests on ubuntu
Browse files Browse the repository at this point in the history
  • Loading branch information
Gottox committed Jun 8, 2024
1 parent eed776d commit 677539e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/tools/ls/escape.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ printf "dir\x1b d 777 0 0\n" > "$PWD/escape.pseudo";
# shellcheck disable=SC2086
$MKSQUASHFS "$PWD/empty" "$PWD/escape.squashfs" -pf "$PWD/escape.pseudo" \
$MKSQUASHFS_OPTS
result=$($SQSH_LS -r --escape "$PWD/escape.squashfs")
[ "$result" = "/dir\e" ]
result="$($SQSH_LS -r --escape "$PWD/escape.squashfs")"
[ "$result" = "$(printf "%s" "/dir\e")" ]

result=$($SQSH_LS -r --raw "$PWD/escape.squashfs")
result="$($SQSH_LS -r --raw "$PWD/escape.squashfs")"
[ "$result" = "$(printf "/dir\e")" ]

0 comments on commit 677539e

Please sign in to comment.