~ubuntu-branches/ubuntu/quantal/libarchive/quantal

« back to all changes in this revision

Viewing changes to libarchive/test/test_read_format_isojoliet_bz2.c

  • Committer: Bazaar Package Importer
  • Author(s): Andres Mejia
  • Date: 2011-09-18 10:25:34 UTC
  • mfrom: (8.1.5 sid)
  • Revision ID: james.westby@ubuntu.com-20110918102534-kmke53ir9v21ooxu
Tags: 2.8.5-3
* Fix upgrade breakage because of manpages being moved from libarchive1 to
  libarchive-dev. (Closes: #641978)
* Make short descriptions for packages unique.
* Explicitly set config options to be used during builds.

Show diffs side-by-side

added added

removed removed

Lines of Context:
95
95
        /* A regular file with two names ("hardlink" gets returned
96
96
         * first, so it's not marked as a hardlink). */
97
97
        assertEqualInt(0, archive_read_next_header(a, &ae));
98
 
        assertEqualString("long-joliet-file-name.textfile",
 
98
        assertEqualString("hardlink",
99
99
            archive_entry_pathname(ae));
100
100
        assertEqualInt(AE_IFREG, archive_entry_filetype(ae));
101
101
        assert(archive_entry_hardlink(ae) == NULL);
108
108
        /* Second name for the same regular file (this happens to be
109
109
         * returned second, so does get marked as a hardlink). */
110
110
        assertEqualInt(0, archive_read_next_header(a, &ae));
111
 
        assertEqualString("hardlink", archive_entry_pathname(ae));
 
111
        assertEqualString("long-joliet-file-name.textfile",
 
112
            archive_entry_pathname(ae));
112
113
        assertEqualInt(AE_IFREG, archive_entry_filetype(ae));
113
 
        assertEqualString("long-joliet-file-name.textfile",
 
114
        assertEqualString("hardlink",
114
115
            archive_entry_hardlink(ae));
115
116
        assert(!archive_entry_size_is_set(ae));
116
117