File: 07-mkdir

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 (16 lines) | stat: -rw-r--r-- 268 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh

rm -rf Mail
mkdir -p a/b/c
mkdir -p a/b/d
mkfifo f
mdiff -s f &
MD=$!
echo -e "$PWD/a/b/c\nd/e/f/g\n$PWD/a/b/d\nd/e/f/h" > f
wait $MD 
assert $? 0 "mdiff failed making dirs"
test -L d/e/f/g
assert $? 0 "no d/e/f/g"
test -L d/e/f/h
assert $? 0 "no d/e/f/h"