Skip to content

Commit 6d2ecbe

Browse files
committed
fix test for linux (chmod -h not available on linux)
1 parent d295f4a commit 6d2ecbe

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

sharness/t0040-unixfs-mode-modtime.sh

+1-2
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,8 @@ test_expect_success "create a test directory with symlink" '
6363
mkdir test_dir2 &&
6464
cp test_file test_dir2/data.txt &&
6565
ln -s test_file test_dir2/test_file_link &&
66-
chmod -h 0777 test_dir2/test_file_link &&
6766
touch -h -t 9011301320 test_dir2/test_file_link &&
68-
ipfs add --preserve-mode --preserve-mtime -rQ test_dir2 > dir2_hash
67+
ipfs add --preserve-mtime -rQ test_dir2 > dir2_hash
6968
;;
7069
*)
7170
echo "unsupported system: $(uname)"

0 commit comments

Comments
 (0)