Move test data to tests/data.
* test/data/*: Move these... * tests/data: ...to this directory. * test/20-pipe-sed-cat.sh, test/20-pipe-sed-cat.stdout, test/20-pipe-sed.sh, test/20-pipe-sed.stdout, test/41-dot.sh, test/42-sh-export.sh, test/42-sh.sh, test/50-redirect-in-out.sh, test/50-redirect-in.sh, test/50-redirect-sed.sh, test/60-subst.sh, test/100-sed-autoconf-basename.sh, test/100-sed-file.sh, test/100-sed-fooRbar.sh, test/100-tar-Z-old.sh, test/100-tar-Z-old.stdout, test/100-tar-Z-pipe.sh, test/100-tar-Z-pipe.stdout, test/100-tar-Z.sh, test/100-tar-Z.stdout, test/100-tar-ro.sh, test/100-tar.sh, test/100-tar.stdout, test/100-tr.sh: Update references.
This commit is contained in:
parent
7e8caba055
commit
c5f2f56268
|
@ -1 +1 @@
|
|||
echo 'X/foo/bar' | \sed -f test/data/basename.sed
|
||||
echo 'X/foo/bar' | \sed -f tests/data/basename.sed
|
||||
|
|
|
@ -1 +1 @@
|
|||
\sed s,foo,bar, test/data/foo
|
||||
\sed s,foo,bar, tests/data/foo
|
||||
|
|
|
@ -1 +1 @@
|
|||
\sed s",\r,\n," < test/data/fooRbar
|
||||
\sed s",\r,\n," < tests/data/fooRbar
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
\tar cZf tmp.tar --sort=name test/data/star
|
||||
\tar cZf tmp.tar --sort=name tests/data/star
|
||||
\tar tZf tmp.tar
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
test/data/star/
|
||||
test/data/star/0
|
||||
test/data/star/1
|
||||
test/data/star/2
|
||||
test/data/star/3
|
||||
tests/data/star/
|
||||
tests/data/star/0
|
||||
tests/data/star/1
|
||||
tests/data/star/2
|
||||
tests/data/star/3
|
||||
|
|
|
@ -1 +1 @@
|
|||
\tar -cZf- --sort=name test/data/star | \tar -tZf-
|
||||
\tar -cZf- --sort=name tests/data/star | \tar -tZf-
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
test/data/star/
|
||||
test/data/star/0
|
||||
test/data/star/1
|
||||
test/data/star/2
|
||||
test/data/star/3
|
||||
tests/data/star/
|
||||
tests/data/star/0
|
||||
tests/data/star/1
|
||||
tests/data/star/2
|
||||
tests/data/star/3
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
\tar -cZf tmp.tar --sort=name test/data/star
|
||||
\tar -cZf tmp.tar --sort=name tests/data/star
|
||||
\tar -tZf tmp.tar
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
test/data/star/
|
||||
test/data/star/0
|
||||
test/data/star/1
|
||||
test/data/star/2
|
||||
test/data/star/3
|
||||
tests/data/star/
|
||||
tests/data/star/0
|
||||
tests/data/star/1
|
||||
tests/data/star/2
|
||||
tests/data/star/3
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
\tar -xvf test/data/ro.tar
|
||||
\tar -xvf tests/data/ro.tar
|
||||
\chmod -R +w foo
|
||||
\rm -r foo
|
||||
|
|
|
@ -1 +1 @@
|
|||
\tar -cf- --sort=name test/data/star | \tar -tf-
|
||||
\tar -cf- --sort=name tests/data/star | \tar -tf-
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
test/data/star/
|
||||
test/data/star/0
|
||||
test/data/star/1
|
||||
test/data/star/2
|
||||
test/data/star/3
|
||||
tests/data/star/
|
||||
tests/data/star/0
|
||||
tests/data/star/1
|
||||
tests/data/star/2
|
||||
tests/data/star/3
|
||||
|
|
|
@ -1 +1 @@
|
|||
\tr -d o < test/data/foo
|
||||
\tr -d o < tests/data/foo
|
||||
|
|
|
@ -1 +1 @@
|
|||
echo -e 'a\nb\nc' test/data/star/* | sed 's, ,\n,g' | cat
|
||||
echo -e 'a\nb\nc' tests/data/star/* | sed 's, ,\n,g' | cat
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
a
|
||||
b
|
||||
c
|
||||
test/data/star/0
|
||||
test/data/star/1
|
||||
test/data/star/2
|
||||
test/data/star/3
|
||||
tests/data/star/0
|
||||
tests/data/star/1
|
||||
tests/data/star/2
|
||||
tests/data/star/3
|
||||
|
|
|
@ -1 +1 @@
|
|||
echo -e 'a\nb\nc' test/data/star/* | \sed 's, ,\n,g'
|
||||
echo -e 'a\nb\nc' tests/data/star/* | \sed 's, ,\n,g'
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
a
|
||||
b
|
||||
c
|
||||
test/data/star/0
|
||||
test/data/star/1
|
||||
test/data/star/2
|
||||
test/data/star/3
|
||||
tests/data/star/0
|
||||
tests/data/star/1
|
||||
tests/data/star/2
|
||||
tests/data/star/3
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
. test/data/script.sh
|
||||
. tests/data/script.sh
|
||||
echo $foo
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
bar=baz
|
||||
export baz
|
||||
sh test/data/script.sh
|
||||
sh tests/data/script.sh
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
sh test/data/script.sh
|
||||
sh tests/data/script.sh
|
||||
echo $foo
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
cat < test/data/foo > bar
|
||||
cat < tests/data/foo > bar
|
||||
cat bar
|
||||
rm bar
|
||||
|
|
|
@ -1 +1 @@
|
|||
\cat < test/data/foo
|
||||
\cat < tests/data/foo
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
sed \
|
||||
-e "s,^#! /bin/sh,#! /bin/gash," \
|
||||
test/data/diff.scm > $DESTDIR/tmp/diff.scm
|
||||
tests/data/diff.scm > $DESTDIR/tmp/diff.scm
|
||||
cat $DESTDIR/tmp/diff.scm
|
||||
rm $DESTDIR/tmp/diff.scm
|
||||
|
|
|
@ -4,6 +4,6 @@ subst () {
|
|||
$1 > $2
|
||||
}
|
||||
|
||||
subst test/data/foo foo.tmp
|
||||
subst tests/data/foo foo.tmp
|
||||
cat foo.tmp
|
||||
rm foo.tmp
|
||||
|
|
Loading…
Reference in New Issue