Revision a78b61c6 src/image/test/ImagePoolTest.cc

View differences:

src/image/test/ImagePoolTest.cc
407 407
        delete disk;
408 408
        value = "";
409 409

  
410
        // This time, set a target for this disk
411
        disk = new VectorAttribute("DISK");
412
        disk->replace("TARGET", "sdw");
413

  
414
        img->disk_attribute(&disk, 0);
415

  
416
        value = disk->vector_value("TARGET");
417
        CPPUNIT_ASSERT(value == "sdw");
418

  
419

  
420
        // clean up
421
        delete disk;
422
        value = "";
423

  
424 410
        disk = new VectorAttribute("DISK");
425 411

  
426 412
        // Allocate a CDROM type image

Also available in: Unified diff