t / t3700-add.shon commit Merge branch 'eb/mailinfo' into next (3c38f60)
   1#!/bin/sh
   2#
   3# Copyright (c) 2006 Carl D. Worth
   4#
   5
   6test_description='Test of git-add, including the -- option.'
   7
   8. ./test-lib.sh
   9
  10test_expect_success \
  11    'Test of git-add' \
  12    'touch foo && git-add foo'
  13
  14test_expect_success \
  15    'Post-check that foo is in the index' \
  16    'git-ls-files foo | grep foo'
  17
  18test_expect_success \
  19    'Test that "git-add -- -q" works' \
  20    'touch -- -q && git-add -- -q'
  21
  22test_done