pjdfstest
pjdfstest copied to clipboard
chmod/07.t line 38
"expect 0 -u 65534 -g 65534 symlink ${n2} ${n1}/${n3}" should be "expect 0 -u 65534 -g 65534 symlink ${n1}/${n2} ${n1}/${n3}"
right?
Could you please explain what you think the problem is and why it should change? Same for #64 .
Could you please explain what you think the problem is and why it should change? Same for #64 .
37 expect 0 -u 65534 -g 65534 create ${n1}/${n2} 0644 38 expect 0 -u 65534 -g 65534 symlink ${n2} ${n1}/${n3} 39 expect 0 -u 65534 -g 65534 chmod ${n1}/${n3} 0642 40 expect 0642,65534,65534 stat ${n1}/${n2} mode,uid,gid 41 expect EPERM -u 65533 -g 65533 chmod ${n1}/${n3} 0641 42 expect 0642,65534,65534 stat ${n1}/${n2} mode,uid,gid
According line 37,40,42, I suspect this scope is to verify normal symlink scenario that n1/n3 symlink to n1/n2, but not abnormal scenario that n2 not existing.