commit 1eb5d2a086f570f5bd47339ea2f7e477d9503422 from: Christian Weisgerber date: Fri Feb 24 16:08:12 2023 UTC regress: git_rm will cd into the test repo by itself commit - e2bd307e144cf6a7c5a878d68e04bd8c744153ea commit + 1eb5d2a086f570f5bd47339ea2f7e477d9503422 blob - afb98ebb0b2de07c90dfa887d9d20fe0cb5f0db4 blob + c40836b609cfeffeedd9916e00ee56432e887ee5 --- regress/cmdline/update.sh +++ regress/cmdline/update.sh @@ -106,7 +106,7 @@ test_update_deletes_file() { return 1 fi - (cd $testroot/repo && git_rm $testroot/repo beta) + git_rm $testroot/repo beta git_commit $testroot/repo -m "deleting a file" echo "D beta" > $testroot/stdout.expected @@ -147,7 +147,7 @@ test_update_deletes_dir() { return 1 fi - (cd $testroot/repo && git_rm $testroot/repo -r epsilon) + git_rm $testroot/repo -r epsilon git_commit $testroot/repo -m "deleting a directory" echo "D epsilon/zeta" > $testroot/stdout.expected