소스 검색

Create test files and directories

master
lostd 10 년 전
부모
커밋
1c23cbc2ad
1개의 변경된 파일21개의 추가작업 그리고 0개의 파일을 삭제
  1. +21
    -0
      mktest.sh

+ 21
- 0
mktest.sh 파일 보기

@@ -0,0 +1,21 @@
#!/bin/sh

# Create test files and directories

test -e test && {
echo "Remove test and try again"
exit 1
}

mkdir test && cd test

echo 'It works!' > normal.txt
ln -s normal.txt ln-normal.txt
ln -s normal.txt ln-normal
mkdir normal-dir
ln -s normal-dir ln-normal-dir
ln -s nowhere ln-nowhere
mkfifo mk-fifo
touch no-access && chmod 000 no-access
ln -s ../normal.txt normal-dir/ln-normal.txt
ln -s ../normal.txt normal-dir/ln-normal

||||||
x
 
000:0
불러오는 중...
취소
저장