文件操作 - t-git-credential-netrc.sh
返回文件管理
返回主菜单
删除本文件
文件: /usr/share/doc/git/contrib/credential/netrc/t-git-credential-netrc.sh
编辑文件内容
#!/bin/sh ( cd ../../../t test_description='git-credential-netrc' . ./test-lib.sh . "$TEST_DIRECTORY"/lib-perl.sh skip_all_if_no_Test_More # set up test repository test_expect_success \ 'set up test repository' \ 'git config --add gpg.program test.git-config-gpg' export PERL5LIB="$GITPERLLIB" test_expect_success 'git-credential-netrc' ' perl "$GIT_BUILD_DIR"/contrib/credential/netrc/test.pl ' test_done )
修改文件时间
将文件时间修改为当前时间的前一年
删除文件