AT_CHECK([cd "$dir1" && zip-test w foo.zip $names])
# If zipinfo is installed, make sure it can read the zipfile.
AT_CHECK([cd "$dir1" && zip-test w foo.zip $names])
# If zipinfo is installed, make sure it can read the zipfile.
# The pipe through "cat" below is essential because it makes the
# output file un-seekable.
AT_CHECK([cd "$dir1" && zip-test w - $names | cat > foo.zip])
# The pipe through "cat" below is essential because it makes the
# output file un-seekable.
AT_CHECK([cd "$dir1" && zip-test w - $names | cat > foo.zip])