[cxtest-users] mounting iso during cxtest

Jozef Stefanka jstefanka at codeweavers.com
Tue Sep 20 03:59:52 CDT 2005


Tim, 

please change line 362 in file "/home/test/cxtest/scripts/install.sh" from :

mount -t iso9660 -o ro,users,loop,unhide "$ISO_DIR/$ISO_NAME" $MOUNT_DIR 
> /dev/null 2>&1

to  : 

mount -t iso9660 -o ro,users,loop,unhide "$ISO_DIR/$ISO_NAME" $MOUNT_DIR

After that rerun test and send me output. 

Thanks !

Jozef

On Tuesday 20 September 2005 03:43, Tim Erlandsen wrote:
> Jozef,
>
> Here are the results of the two commands you mentioned.
>
> root at dragon:/dev # chown test:users loop*
> root at dragon:/dev # ll -d loop*
> drwxr-xr-x  2 test users   60 Sep 19 06:20 loop
> brw-rw----  1 test users 7, 0 Sep 19 06:51 loop0
> brw-rw----  1 test users 7, 1 Sep 19 06:51 loop1
> brw-rw----  1 test users 7, 2 Sep 19 06:51 loop2
> brw-rw----  1 test users 7, 3 Sep 19 06:51 loop3
> brw-rw----  1 test users 7, 4 Sep 19 06:51 loop4
> brw-rw----  1 test users 7, 5 Sep 19 06:51 loop5
> brw-rw----  1 test users 7, 6 Sep 19 06:51 loop6
> brw-rw----  1 test users 7, 7 Sep 19 06:51 loop7
>
> root at dragon:/sbin # chmod +s losetup
> root at dragon:/sbin # ll losetup
> -rwsr-sr-x  1 root root 22724 Mar 17  2005 losetup
>
> Here is what the log shows for the install afterward.
>
>
> INSTALL cxpro_nb...                              SUCCESS
>      - [/home/test/cxtest/scripts/run.sh: 574] - installation of
> 'cxpro_nb' done
>      * [/home/test/cxtest/scripts/run.sh: 473] - install 'quicken2k5'
>    * [/home/test/cxtest/scripts/dependency.sh: 680] - check dependencies
> for '/home/test/cxtest/run/cxpro_quicken2k5':1
>    - [/home/test/cxtest/scripts/dependency.sh: 691] - dependency check
> successful for '/home/test/cxtest/run/cxpro_quicken2k5':1
>        * [/home/test/cxtest/scripts/run.sh: 541] - begin install
> 'quicken2k5'
> [ERROR: UNABLE TO MOUNT 'quicken2005.iso' TO
> '/tmp/cxtest-quicken2005.iyK7ap'] - /home/test/cxtest/scripts/install.sh:
> 364 * [cxfunct.sh: 2371] -- SETTING CXTEST_PNG_SEARCH_DIR TO
> /home/test/cxtest/packages/quicken2k5/install
>        * [cxfunct.sh: 2418] -- CXTEST_TIME_MULTIPLE SET 1.296910
>        * cxsetup may decide to install DCOM95
>          * [/home/test/cxtest/packages/quicken2k5/install/quicken2k5.sh:
> 38] - WAIT WIN
>
> Any ideas? Is there a doc I should have read that gives some more details
> on using pre-built packages in cxtest, such as variables that need to be
> set and such?
>
> Thanks again,
>
> Tim...
>
> > Hi,
> >
> > You need set :
> >
> > chown test:users /dev/loop* - if you run cxtest as user test
> > chmod +s /sbin/losetup
> >
> > Jozef
> >
> > On Monday 19 September 2005 07:07, Tim Erlandsen wrote:
> >> Any ideas on how best to get iso files to mount during a cxtest run. I
>
> have created an iso of my Quicken 2005 install cd and I can only mount
> it
>
> >> as root. I tried setting mount's sgid to no avail. I think this is why
> >> the regression tester is unable to mount the iso during install. Any
> >> help
>
> would be appreciated. ps.. I'm running Ubuntu Hoary.
>
> >> Thanks,
> >> Tim...
> >> _______________________________________________
> >> cxtest-users mailing list
> >> cxtest-users at cxtest.org
> >> http://www.cxtest.org/mailman/listinfo/cxtest-users
> >
> > _______________________________________________
> > cxtest-users mailing list
> > cxtest-users at cxtest.org
> > http://www.cxtest.org/mailman/listinfo/cxtest-users
>
> _______________________________________________
> cxtest-users mailing list
> cxtest-users at cxtest.org
> http://www.cxtest.org/mailman/listinfo/cxtest-users



More information about the cxtest-users mailing list