test/track: touch and stage files
This commit is contained in:
parent
08afb68bc1
commit
e34f7b33e1
@ -230,6 +230,9 @@ begin_test "track blacklisted files by name"
|
||||
cd "$repo"
|
||||
git init
|
||||
|
||||
touch .gitattributes
|
||||
git add .gitattributes
|
||||
|
||||
git lfs track .gitattributes 2>&1 > track.log
|
||||
grep "Pattern .gitattributes matches forbidden file .gitattributes" track.log
|
||||
)
|
||||
@ -244,6 +247,9 @@ begin_test "track blacklisted files with glob"
|
||||
cd "$repo"
|
||||
git init
|
||||
|
||||
touch .gitattributes
|
||||
git add .gitattributes
|
||||
|
||||
git lfs track ".git*" 2>&1 > track.log
|
||||
grep "Pattern .git\* matches forbidden file" track.log
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user