summaryrefslogtreecommitdiffstats
path: root/tests/ts
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ts')
-rwxr-xr-xtests/ts/misc/swaplabel3
-rwxr-xr-xtests/ts/rename/exit_codes3
2 files changed, 2 insertions, 4 deletions
diff --git a/tests/ts/misc/swaplabel b/tests/ts/misc/swaplabel
index f934b2179..646304508 100755
--- a/tests/ts/misc/swaplabel
+++ b/tests/ts/misc/swaplabel
@@ -20,7 +20,6 @@ ts_init "$*"
ts_check_test_command "$TS_CMD_MKSWAP"
ts_check_test_command "$TS_CMD_SWAPLABEL"
-ts_check_prog "stdbuf"
# fallocate does not work on most file systems
function fallocate_or_skip()
@@ -50,7 +49,7 @@ $TS_CMD_MKSWAP \
rm -f $IMAGE
fallocate_or_skip $MIN_SWAP_SIZE $IMAGE
-stdbuf -oL -eL $TS_CMD_MKSWAP \
+$TS_CMD_MKSWAP \
--label 1234567890abcdef \
--uuid 12345678-abcd-abcd-abcd-1234567890ab \
$IMAGE 2>&1 |\
diff --git a/tests/ts/rename/exit_codes b/tests/ts/rename/exit_codes
index 3d46120ac..37028162b 100755
--- a/tests/ts/rename/exit_codes
+++ b/tests/ts/rename/exit_codes
@@ -22,7 +22,6 @@ TS_DESC="exit codes"
ts_init "$*"
ts_check_test_command "$TS_CMD_RENAME"
-ts_check_prog "stdbuf"
ts_cd "$TS_OUTDIR"
touch rename_exit_codes.{1..2}
@@ -33,7 +32,7 @@ $TS_CMD_RENAME -v codes values rename_exit_codes.? >> $TS_OUTPUT 2>&1
echo "EXIT_SUCCESS: $?" >> $TS_OUTPUT
mkdir rename_exit_codes.2
-stdbuf -oL -eL $TS_CMD_RENAME -v values codes rename_exit_values.? >> $TS_OUTPUT 2>&1
+$TS_CMD_RENAME -v values codes rename_exit_values.? >> $TS_OUTPUT 2>&1
echo "RENAME_EXIT_SOMEOK: $?" >> $TS_OUTPUT
rmdir rename_exit_codes.2