aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile8
-rwxr-xr-xzram01.sh2
-rwxr-xr-xzram02.sh2
3 files changed, 8 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 84a7950..d5da00d 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,11 @@
all:
+TEST_PROGS := zram01.sh zram02.sh zram_lib.sh
+
+include ../lib.mk
+
run_tests:
- @/bin/sh ./zram01.sh; \
- /bin/sh ./zram02.sh
+ @/bin/bash ./zram01.sh; \
+ /bin/bash ./zram02.sh
clean:
diff --git a/zram01.sh b/zram01.sh
index b75eb83..b63eb5d 100755
--- a/zram01.sh
+++ b/zram01.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Copyright (c) 2015 Oracle and/or its affiliates. All Rights Reserved.
#
# This program is free software; you can redistribute it and/or
diff --git a/zram02.sh b/zram02.sh
index e0b61f5..81855ce 100755
--- a/zram02.sh
+++ b/zram02.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Copyright (c) 2015 Oracle and/or its affiliates. All Rights Reserved.
#
# This program is free software; you can redistribute it and/or