소스 검색

Pipe the output from `tar xfv' through sort.

Sergey Poznyakoff 20 년 전
부모
커밋
9106e53684
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      tests/pipe.at

+ 2 - 2
tests/pipe.at

@@ -36,7 +36,7 @@ genfile --length 10240 --pattern zeros > directory/file1
 genfile --length 13 > directory/file2
 tar cf archive directory|sort 2>/dev/null
 mv directory orig
-cat archive | tar xfv -
+cat archive | tar xfv - | sort 2>/dev/null
 echo "separator"
 cmp orig/file1 directory/file1
 echo "separator"
@@ -49,4 +49,4 @@ separator
 separator
 ])
 
-AT_CLEANUP
+AT_CLEANUP