#!/bin/bash

. "$XDG_TEST_DIR/include/testassertions.sh"


generic_version() {
test_start "$FUNCNAME: generic version arg - $XDGUTIL"

test_purpose "Ensure that $XDGUTIL prints the version information and exists with code 0."

# Dependencies section
test_init

assert_util_var
set_no_display

# Test steps section
test_procedure

assert_exit 0 "$XDGUTIL" "--version"
assert_stdout
assert_nostderr

test_result
}
GENERIC_TEST="generic_version"
