VirtualBox

Ignore:
Timestamp:
May 9, 2011 5:48:43 PM (14 years ago)
Author:
vboxsync
Message:

Added VBOX_VERSION_STRING_RAW to only handle/store the pure VBox version without any suffixes. Fixes bug #8844.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/testcase/tstRTStrVersion.cpp

    r35076 r37016  
    55
    66/*
    7  * Copyright (C) 2009 Oracle Corporation
     7 * Copyright (C) 2011 Oracle Corporation
    88 *
    99 * This file is part of VirtualBox Open Source Edition (OSE), as
     
    9797        { "3.1.0_BETA2-r12345",         "3.1.0_BETA1-r12345",                1 },
    9898        { "3.1.0_BETA2-r12345",         "3.1.0_BETA999-r12345",             -1 },
    99         { "3.1.0_BETA2",                "3.1.0_ABC",                        -1 }, /* ABC isn't indicating a prerelease, BETA does */
     99        { "3.1.0_BETA2",                "3.1.0_ABC",                        -1 }, /* ABC isn't indicating a prerelease, BETA does. */
    100100        { "3.1.0_BETA",                 "3.1.0_ATEB",                       -1 },
    101101        { "4.0.0_ALPHAr68482",          "4.0.0_ALPHAr68483",                -1 },
     
    106106        { "4.0.0_ALPHAr68483",          "4.0.0_BETA2r68783",                -1 },
    107107        { "4.0.0_ALPHAr68483",          "4.0.0_BETA2r68784",                -1 },
     108        { "4.0.6",                      "4.0.6_Ubuntu",                     -1 }, /* Without stripped guest OS string (Ubuntu). */
     109        { "4.0.6_Windows",              "4.0.6",                             1 }  /* Without stripped guest OS string (Windows). */
    108110    };
    109111    for (unsigned iTest = 0; iTest < RT_ELEMENTS(aTests); iTest++)
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette