Skip to content

Commit

Permalink
fix test for linux (chmod -h not available on linux)
Browse files Browse the repository at this point in the history
  • Loading branch information
gammazero committed Aug 15, 2024
1 parent d295f4a commit 6d2ecbe
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions sharness/t0040-unixfs-mode-modtime.sh
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,8 @@ test_expect_success "create a test directory with symlink" '
mkdir test_dir2 &&
cp test_file test_dir2/data.txt &&
ln -s test_file test_dir2/test_file_link &&
chmod -h 0777 test_dir2/test_file_link &&
touch -h -t 9011301320 test_dir2/test_file_link &&
ipfs add --preserve-mode --preserve-mtime -rQ test_dir2 > dir2_hash
ipfs add --preserve-mtime -rQ test_dir2 > dir2_hash
;;
*)
echo "unsupported system: $(uname)"
Expand Down

0 comments on commit 6d2ecbe

Please sign in to comment.