4
0
Эх сурвалжийг харах

Pipe the output from `tar xfv' through sort.

Sergey Poznyakoff 20 жил өмнө
parent
commit
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