diff options
author | Zhang Qiang <qiang.z.zhang@intel.com> | 2014-04-03 15:53:09 +0800 |
---|---|---|
committer | Zhang Qiang <qiang.z.zhang@intel.com> | 2014-04-03 15:53:09 +0800 |
commit | b979ae3b9b879ce19582770e2ba89eb3e66f964a (patch) | |
tree | 758e7684bbaa43d8899ccbc49b133ff0112d3a88 /t | |
download | build-b979ae3b9b879ce19582770e2ba89eb3e66f964a.tar.gz build-b979ae3b9b879ce19582770e2ba89eb3e66f964a.tar.bz2 build-b979ae3b9b879ce19582770e2ba89eb3e66f964a.zip |
Imported Upstream version 2013.11.12upstream/2013.11.12
Diffstat (limited to 't')
-rwxr-xr-x | t/dist | 19 |
1 files changed, 19 insertions, 0 deletions
@@ -0,0 +1,19 @@ +#!/usr/bin/perl -w + +use strict; +use Test::More tests => 9; +use Build; + +sub d { + Build::dist_canon($_[0], $_[1]||'i586'); +} + +is(d("UnitedLinux 1.0 (x86-64)"), "ul1-x86_64"); +is(d("SuSE SLES-8 (ia64)"), "sles8-ia64"); +is(d("SuSE Linux 8.2 (x86-64)"), "8.2-x86_64"); +is(d("SuSE SLES-9 (x86-64)"), "sles9-x86_64"); +is(d("SUSE Linux 10.1 (PPC64)"), "10.1-ppc64"); +is(d("SUSE Linux Enterprise 10 (PPC)"), "sles10-ppc"); +is(d("openSUSE 10.3 (X86-64)"), "10.3-x86_64"); +is(d("SUSE Linux Enterprise 11"), "sles11-i386"); +is(d("openSUSE 11.3"), "11.3-i386"); |