chiark / gitweb /
test: make it easier to override kernel version
[elogind.git] / test / TEST-03-JOBS / test.sh
index 6eaba72e576a53c56915705cf41057351bea2734..6440d1f54b00f502aee9ffa7e9e6cc2d0bd4ff3c 100755 (executable)
@@ -3,8 +3,7 @@
 # ex: ts=8 sw=4 sts=4 et filetype=sh
 TEST_DESCRIPTION="Job-related tests"
 
-KVERSION=${KVERSION-$(uname -r)}
-KERNEL_VER=$(uname -r)
+. $TEST_BASE_DIR/test-functions
 
 # Uncomment this to debug failures
 #DEBUGFAIL="systemd.unit=multi-user.target"
@@ -247,5 +246,4 @@ test_cleanup() {
     return 0
 }
 
-. $TEST_BASE_DIR/test-functions
 do_test "$@"