Partially fix tests
Since mgit is not a public executable it will not be present in $PATH - so we must use %{exe:...} over %{bin:...}. The fix is partial because the (enabled_if ...) stanza doesn't work correctly for me at least.
This commit is contained in:
parent
0318c4c35a
commit
248a6cdde9
3 changed files with 6 additions and 6 deletions
|
@ -3,14 +3,14 @@
|
||||||
(applies_to simple)
|
(applies_to simple)
|
||||||
(locks p9418)
|
(locks p9418)
|
||||||
(enabled_if (= "true" {%read:git-daemon}))
|
(enabled_if (= "true" {%read:git-daemon}))
|
||||||
(deps %{bin:mgit}))
|
(deps %{exe:../app/mgit.exe}))
|
||||||
|
|
||||||
(cram
|
(cram
|
||||||
(package git-kv)
|
(package git-kv)
|
||||||
(applies_to fold)
|
(applies_to fold)
|
||||||
(locks p9418)
|
(locks p9418)
|
||||||
(enabled_if (= "true" {%read:git-daemon}))
|
(enabled_if (= "true" {%read:git-daemon}))
|
||||||
(deps %{bin:mgit}))
|
(deps %{exe:../app/mgit.exe}))
|
||||||
|
|
||||||
(executable
|
(executable
|
||||||
(name git_daemon_exists)
|
(name git_daemon_exists)
|
||||||
|
|
|
@ -11,14 +11,14 @@ Batch operation
|
||||||
> exists /bar
|
> exists /bar
|
||||||
> quit
|
> quit
|
||||||
> quit
|
> quit
|
||||||
/"bar" does not exists
|
/bar does not exists
|
||||||
$ mgit git://localhost/simple#main <<EOF
|
$ mgit git://localhost/simple#main <<EOF
|
||||||
> list /
|
> list /
|
||||||
> get /bar
|
> get /bar
|
||||||
> get /foo
|
> get /foo
|
||||||
> quit
|
> quit
|
||||||
- bar
|
- /bar
|
||||||
- foo
|
- /foo
|
||||||
00000000: 4769 7420 726f 636b 7321 Git rocks!
|
00000000: 4769 7420 726f 636b 7321 Git rocks!
|
||||||
00000000: 4865 6c6c 6f20 576f 726c 6421 Hello World!
|
00000000: 4865 6c6c 6f20 576f 726c 6421 Hello World!
|
||||||
$ cd simple
|
$ cd simple
|
||||||
|
|
|
@ -35,7 +35,7 @@ Simple test of our Git Key-Value store
|
||||||
> get /bar
|
> get /bar
|
||||||
> get /foo
|
> get /foo
|
||||||
> quit
|
> quit
|
||||||
+ /"bar"
|
+ /bar
|
||||||
* /
|
* /
|
||||||
00000000: 4769 7420 726f 636b 7321 0a Git rocks!.
|
00000000: 4769 7420 726f 636b 7321 0a Git rocks!.
|
||||||
00000000: 4865 6c6c 6f20 576f 726c 6421 0a Hello World!.
|
00000000: 4865 6c6c 6f20 576f 726c 6421 0a Hello World!.
|
||||||
|
|
Loading…
Reference in a new issue