Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
mercurial-devel
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mercurial
mercurial-devel
Commits
9965b90c
Commit
9965b90c
authored
14 years ago
by
Matt Mackall
Browse files
Options
Downloads
Patches
Plain Diff
tests: unify test-inotify-issue1371
parent
b98d9314
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
tests/test-inotify-issue1371.out
+0
-16
0 additions, 16 deletions
tests/test-inotify-issue1371.out
tests/test-inotify-issue1371.t
+35
-26
35 additions, 26 deletions
tests/test-inotify-issue1371.t
with
35 additions
and
42 deletions
tests/test-inotify-issue1371.out
deleted
100644 → 0
+
0
−
16
View file @
b98d9314
inserv1
% inserve
adding a
adding b
adding c
adding d
adding e
adding f
adding hg.pid
M c
A g
A h
R a
R e
! b
Are we able to kill the service? if not, the service died on some error
This diff is collapsed.
Click to expand it.
tests/test-inotify-issue1371
→
tests/test-inotify-issue1371
.t
100755 → 100644
+
35
−
26
View file @
9965b90c
#!/bin/sh
"
$TESTDIR
/hghave"
inotify
||
exit
80
...
...
@@ -4,3 +1,7 @@
hg init
$
"
$TESTDIR
/hghave
"
inotify
||
exit
80
$
hg
init
$
touch
a
b
c
d
e
f
$
echo
"
[extensions]
"
>>
$HGRCPATH
$
echo
"
inotify=
"
>>
$HGRCPATH
...
...
@@ -6,3 +7,3 @@
touch
a b c d e f
inserve
...
...
@@ -8,5 +9,12 @@
echo
"[extensions]"
>>
$HGRCPATH
echo
"inotify="
>>
$HGRCPATH
echo
inserv1
$
hg
inserve
-
d
--
pid
-
file
=
hg
.
pid
2
>&
1
$
cat
hg
.
pid
>>
"
$DAEMON_PIDS
"
$
hg
ci
-
Am
m
adding a
adding
b
adding
c
adding
d
adding
e
adding
f
adding
hg
.
pid
...
...
@@ -12,7 +20,3 @@
echo
% inserve
hg inserve
-d
--pid-file
=
hg.pid 2>&1
cat
hg.pid
>>
"
$DAEMON_PIDS
"
hg ci
-Am
m
let
the
daemon
finish
its
stuff
...
...
@@ -18,2 +22,3 @@
$
sleep
1
...
...
@@ -19,4 +24,3 @@
# let the daemon finish its stuff
sleep
1
eed
to
test
all
file
opperations
...
...
@@ -22,10 +26,16 @@
#Need to test all file opperations
hg
rm
a
rm
b
echo
c
>>
c
touch
g
hg add g
hg
mv
e h
hg status
$
hg
rm
a
$
rm
b
$
echo
c
>>
c
$
touch
g
$
hg
add
g
$
hg
mv
e
h
$
hg
status
M
c
A
g
A
h
R
a
R
e
!
b
$
sleep
1
...
...
@@ -31,5 +41,3 @@
sleep
1
echo
"Are we able to kill the service? if not, the service died on some error"
kill
`
cat
hg.pid
`
Are
we
able
to
kill
the
service
?
if
not
,
the
service
died
on
some
error
...
...
@@ -35,1 +43,2 @@
$
kill
`
cat hg.pid
`
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment