/*
 * Oracle Linux DTrace.
 * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
 * Licensed under the Universal Permissive License v 1.0 as shown at
 * http://oss.oracle.com/licenses/upl.
 */
/* @@xfail: dtv2: need vtimestamp support */

/*
 * ASSERTION: The 'vtimestamp' variable can be accessed and is not -1.
 *
 * SECTION: Variables/Built-in Variables/vtimestamp
 */

#pragma D option quiet

BEGIN {
	trace(vtimestamp);
	exit(vtimestamp != -1 ? 0 : 1);
}

ERROR {
	exit(1);
}
