commit 79775c2f00066268b3ed08e320ef1ca812983705 from: Stefan Sperling date: Tue Jan 19 11:09:49 2021 UTC fix copy-pasta in test_update_single_file commit - 194cb7cb2a0f223daf0baa74a1e85bbbb44c10fd commit + 79775c2f00066268b3ed08e320ef1ca812983705 blob - dd8f31f1ab6cb4e1c7bba94b8c2abc6f0e08b67a blob + 97e123898e802d1c300e7bd1764cff54e29dac26 --- regress/cmdline/update.sh +++ regress/cmdline/update.sh @@ -2259,14 +2259,14 @@ test_update_single_file() { echo c1 > $testroot/repo/c (cd $testroot/repo && git add .) - git_commit $testroot/repo -m "adding executable file" + git_commit $testroot/repo -m "adding file c" local commit_id1=`git_show_head $testroot/repo` echo a > $testroot/repo/a echo b > $testroot/repo/b echo c2 > $testroot/repo/c (cd $testroot/repo && git add .) - git_commit $testroot/repo -m "adding executable file" + git_commit $testroot/repo -m "add files a and b, change c" local commit_id2=`git_show_head $testroot/repo` got checkout $testroot/repo $testroot/wt > /dev/null @@ -2277,8 +2277,7 @@ test_update_single_file() { fi echo "U c" > $testroot/stdout.expected - echo -n "Updated to commit $commit_id1" >> $testroot/stdout.expected - echo >> $testroot/stdout.expected + echo "Updated to commit $commit_id1" >> $testroot/stdout.expected (cd $testroot/wt && got update -c $commit_id1 c \ > $testroot/stdout) @@ -2303,8 +2302,7 @@ test_update_single_file() { fi echo "U c" > $testroot/stdout.expected - echo -n "Updated to commit $commit_id2" >> $testroot/stdout.expected - echo >> $testroot/stdout.expected + echo "Updated to commit $commit_id2" >> $testroot/stdout.expected (cd $testroot/wt && got update c > $testroot/stdout)