chiark / gitweb /
test: make it easier to override kernel version
[elogind.git] / test / TEST-01-BASIC / test.sh
index 90492079e4f5fa7d7300a3bc942c9f59d3bfebb8..e41ed9dcfe8c4d089b9855863396ad596dbd83f2 100755 (executable)
@@ -3,8 +3,7 @@
 # ex: ts=8 sw=4 sts=4 et filetype=sh
 TEST_DESCRIPTION="Basic systemd setup"
 
-KVERSION=${KVERSION-$(uname -r)}
-KERNEL_VER=$(uname -r)
+. $TEST_BASE_DIR/test-functions
 
 # Uncomment this to debug failures
 #DEBUGFAIL="systemd.unit=multi-user.target"
@@ -242,5 +241,4 @@ test_cleanup() {
     return 0
 }
 
-. $TEST_BASE_DIR/test-functions
 do_test "$@"