From 6d2ecbe0982e6ff8fcaeea2e7f75e50ba439595e Mon Sep 17 00:00:00 2001 From: gammazero <11790789+gammazero@users.noreply.github.com> Date: Thu, 15 Aug 2024 11:08:14 -0700 Subject: [PATCH] fix test for linux (chmod -h not available on linux) --- sharness/t0040-unixfs-mode-modtime.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sharness/t0040-unixfs-mode-modtime.sh b/sharness/t0040-unixfs-mode-modtime.sh index 811130f..ef743ec 100755 --- a/sharness/t0040-unixfs-mode-modtime.sh +++ b/sharness/t0040-unixfs-mode-modtime.sh @@ -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)"