Project

General

Profile

Feature #1950

ztest backwards compatibility testing option

Added by George Wilson over 7 years ago. Updated over 7 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Start date:
2012-01-05
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage

Description

Adding -B option to ztest which takes the name of a directory which should be
an alternate root directory containing an older version of ztest, zdb, and
libzpool.so.1. For example:

/
home/
chris/
old_ztest/
usr/
bin/
i86/
ztest
amd64/
ztest
sbin/
i86/
zdb
amd64/
ztest
lib/
libzpool.so.1
64/
libzpool.so.1

You would then run

ztest -B /home/chris/old_ztest/

ztest will then invoke the older version of ztest to initialize the pool (so
that the pool is created with the "older" version) and then randomly alternate
between invoking itself (the "newer" version) and the older version each time
it finishes a run or is SIGKILL-ed.

This tests the effect of importing a pool with alternating older and newer
versions of the code. This should continue to work as long as the pool is never
upgraded to the newer version.

History

#1

Updated by Albert Lee over 7 years ago

  • Project changed from site to illumos gate
#2

Updated by George Wilson over 7 years ago

  • Subject changed from ztest backwards compatability testing option to ztest backwards compatibility testing option
#3

Updated by Eric Schrock over 7 years ago

  • Status changed from New to Resolved

changeset: 13571:a5771a96228c
tag: tip
user: Chris Siden <>
date: Mon Jan 23 18:43:32 2012 -0800

description:
1950 ztest backwards compatibility testing option
Reviewed by: George Wilson <>
Reviewed by: Adam Leventhal <>
Reviewed by: Matt Ahrens <>
Reviewed by: Richard Lowe <>
Reviewed by: Robert Mustacchi <>
Approved by: Eric Schrock <>

modified:
usr/src/cmd/ztest/ztest.c

Also available in: Atom PDF