File: 12-hook-ssh-fail

package info (click to toggle)
syncmaildir 1.2.5-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 1,104 kB
  • sloc: ansic: 6,643; sh: 1,780; makefile: 247
file content (11 lines) | stat: -rw-r--r-- 246 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

mpull -t 
cat > target/.smd/hooks/post-pull.d/01-test <<EOT
ssh nonexistent || echo ssh: ssh not installed
EOT
chmod a+x target/.smd/hooks/post-pull.d/01-test
mpull -v
grep 'TAGS:' log.pull > /dev/null
assert $? 0 "no tags generated"