1#!/bin/sh2#3# Copyright (c) 2006 Carl D. Worth4#56test_description='Test of git-add, including the -- option.'78. ./test-lib.sh910test_expect_success \11'Test of git-add' \12'touch foo && git-add foo'1314test_expect_success \15'Post-check that foo is in the index' \16'git-ls-files foo | grep foo'1718test_expect_success \19'Test that "git-add -- -q" works' \20'touch -- -q && git-add -- -q'2122test_done