mirror of
git://git.9front.org/plan9front/plan9front
synced 2025-01-12 11:10:06 +00:00
git/test: add noam.rc testcase
This commit is contained in:
parent
798352644e
commit
dc318a6471
2 changed files with 22 additions and 0 deletions
|
@ -7,6 +7,7 @@ TEST=\
|
|||
ftype\
|
||||
lca\
|
||||
merge\
|
||||
noam\
|
||||
range
|
||||
|
||||
</sys/src/cmd/mktest
|
||||
|
|
21
sys/src/cmd/git/test/noam.rc
Executable file
21
sys/src/cmd/git/test/noam.rc
Executable file
|
@ -0,0 +1,21 @@
|
|||
#!/bin/rc
|
||||
|
||||
. util.rc
|
||||
|
||||
rm -fr scratch
|
||||
mkdir -p scratch/noam
|
||||
|
||||
echo @@ noam test @@
|
||||
@{
|
||||
cd scratch/noam
|
||||
git/init
|
||||
touch a
|
||||
git/add a
|
||||
git/commit -m 'add a' a
|
||||
rm a
|
||||
mkdir a
|
||||
touch a/b
|
||||
|
||||
git/add a/b
|
||||
git/commit -m 'switch to folder' a a/b
|
||||
}
|
Loading…
Reference in a new issue