commit - a6dfa7b2fc6f025f11ff57a315c99d96014550d8
commit + 42219b1ea2d9860c465f76cd96fb63fb253628ca
blob - 3574d07a0fe6f57793fe8dbfe5997c032aa0b710
blob + 56c7c3d94ec8c638360c2980c7e28c7de32199e4
--- regress/cmdline/stage.sh
+++ regress/cmdline/stage.sh
(cd $testroot/wt && got stage -R . > $testroot/stdout)
- echo 'G test' >> $testroot/stdout.expected
+ echo ' A test' >> $testroot/stdout.expected
cmp -s $testroot/stdout.expected $testroot/stdout
ret=$?
if [ $ret -ne 0 ]; then
diff -u $testroot/stdout.expected $testroot/stdout
- test_done "$testroot" "$ret"
- return 1
- fi
+ fi
+ test_done "$testroot" "$ret"
}
test_stage_no_changes() {
test_parseargs "$@"
run_test test_stage_basic
+run_test test_stage_directory
run_test test_stage_no_changes
run_test test_stage_unversioned
run_test test_stage_nonexistent