Staging
v0.8.1
https://github.com/git/git
Raw File
Tip revision: 96256bba949f43548a0be0af877680eb62b156f6 authored by Johannes Schindelin on 25 July 2006, 11:57:57 UTC
cvsserver: avoid warning about active db handles
Tip revision: 96256bb
t3700-add.sh
#!/bin/sh
#
# Copyright (c) 2006 Carl D. Worth
#

test_description='Test of git-add, including the -- option.'

. ./test-lib.sh

test_expect_success \
    'Test of git-add' \
    'touch foo && git-add foo'

test_expect_success \
    'Post-check that foo is in the index' \
    'git-ls-files foo | grep foo'

test_expect_success \
    'Test that "git-add -- -q" works' \
    'touch -- -q && git-add -- -q'

test_done
back to top