XserverSanityGnome-s10u11b10-sparc--Done ---1

37 篇文章 0 订阅
Plan629
Test-Run 2750

testcase 50569


For S10Update, S9Update, S8update builds:
===================================
1. Add patch
run 'patchadd $PATCH_ID' command to add new patches, as root,
2. reboot. Check /var/sadm/patch folder. There should be a folder named as the patch ID.
3. After testing the patches should be remove successfully, run 'patchrm $PATCH_ID' command as root. reboot. The patch folder under /var/sadm/patch should be removed.

Notes:1.How to confirm the IPS is the latest build?
 1)Take snv_142 for example:After rebooting, "mcs -p /usr/lib/libX11.so" should show "nv_142" in theversion line for the library itself:@(#)libX11 1.3.2 (72bac57e9c4b nv_142)
 2)Or you can confirm it by "pkg info X-incorporation",if you install build 144 then you can see a line such as "Branch 0.144" .

===============
$ bash
bash-3.2$ su root
Password:
# bash
# cd /var/sadm/patch
# pwd
/var/sadm/patch
# ls -al
total 10
drwxr-xr-x   5 root     root         512 Mar 20 12:33 .
drwxr-xr-x  14 root     sys          512 Mar 20 12:33 ..
-rw-r--r--   1 root     root           0 Mar  2 15:10 .mu_applied
drwxr-xr-x   2 root     root         512 Mar 20 12:33 119278-44
drwxr-xr-x   2 root     root         512 Mar 20 12:29 146662-01
drwxr-xr-x   2 root     root         512 Mar 20 12:25 148912-01
# patchadd 148912-01
Validating patches...

Loading patches installed on the system...

Done!

Loading patches requested to install.

Done!

The following requested patches do not update any packages installed on the system
No Packages from patch 148912-01 are installed on the system.

No patches to dependency check.
# reboot
==================
$ bash
bash-3.2$ su root
Password:
# bash
# cd /var/sadm/patch
# pwd
/var/sadm/patch
# ls -al
total 10
drwxr-xr-x   5 root     root         512 Mar 20 12:33 .
drwxr-xr-x  14 root     sys          512 Mar 20 12:33 ..
-rw-r--r--   1 root     root           0 Mar  2 15:10 .mu_applied
drwxr-xr-x   2 root     root         512 Mar 20 12:33 119278-44
drwxr-xr-x   2 root     root         512 Mar 20 12:29 146662-01
drwxr-xr-x   2 root     root         512 Mar 20 12:25 148912-01
# patchrm 148912-01
Validating patches...

Loading patches installed on the system...

Done!

Checking patches that you specified for removal.

Done!

Approved patches will be removed in this order:

148912-01

Checking installed patches...

Executing prebackout script...
Backing out patch 148912-01...

Executing postbackout script...
Patch 148912-01 has been backed out.

#reboot
=======================
$ bash
bash-3.2$ su root
Password:
# bash
# cd /var/sadm/patch
# pwd
/var/sadm/patch
# ls -al
total 8
drwxr-xr-x   4 root     root         512 Mar 20 18:46 .
drwxr-xr-x  14 root     sys          512 Mar 20 12:33 ..
-rw-r--r--   1 root     root           0 Mar  2 15:10 .mu_applied
drwxr-xr-x   2 root     root         512 Mar 20 12:33 119278-44
drwxr-xr-x   2 root     root         512 Mar 20 12:29 146662-01

#







评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值