~ubuntu-branches/ubuntu/raring/libvirt/raring

« back to all changes in this revision

Viewing changes to tests/nodeinfotest.c

  • Committer: Package Import Robot
  • Author(s): Chuck Short
  • Date: 2012-11-19 10:41:02 UTC
  • mfrom: (1.2.15) (223.1.2 raring-proposed)
  • Revision ID: package-import@ubuntu.com-20121119104102-l6ewdppikysbzztu
Tags: 1.0.0-0ubuntu2
debian/patches/add-armhf-sysinfo-infomration.patch: Disable
to fix FTBFS on arm.

Show diffs side-by-side

added added

removed removed

Lines of Context:
100
100
    if (virAsprintf(&sysfs_dir, "%s/nodeinfodata/linux-%s",
101
101
                    abs_srcdir, test) < 0 ||
102
102
        virAsprintf(&cpuinfo, "%s/nodeinfodata/linux-%s-%s.cpuinfo",
103
 
                    abs_srcdir, test, arch) < 0 ||
104
 
        virAsprintf(&output, "%s/nodeinfodata/linux-%s-cpu-%s-output.txt",
105
 
                    abs_srcdir, test, arch) < 0) {
 
103
                    abs_srcdir, arch, test) < 0 ||
 
104
        virAsprintf(&output, "%s/nodeinfodata/linux-%s-%s.expected",
 
105
                    abs_srcdir, arch, test) < 0) {
106
106
        goto cleanup;
107
107
    }
108
108
 
123
123
    int ret = 0;
124
124
    int i;
125
125
    const char *nodeData[] = {
126
 
        "nodeinfo-sysfs-test-1",
 
126
        "test1",
127
127
# if !(defined(__powerpc__) ||                  \
128
128
       defined(__powerpc64__))
129
 
        "nodeinfo-sysfs-test-2",
130
 
        "nodeinfo-sysfs-test-3",
 
129
        "test2",
 
130
        "test3",
 
131
        "test4",
 
132
        "test5",
 
133
        "test6",
131
134
# endif
132
135
    };
133
136