Bump to 1.14.1
[platform/upstream/augeas.git] / tests / test-put-mount-augnew.sh
index cb95bda..5e4771e 100755 (executable)
@@ -1,11 +1,11 @@
-#! /bin/bash
+#!/bin/sh
 
 # Test that we can write into a bind mount placed at PATH.augnew with the
 # copy_if_rename_fails flag.
 # This requires that EXDEV or EBUSY is returned from rename(2) to activate the
 # code path, so set up a bind mount on Linux.
 
-if [ $UID -ne 0 -o "$(uname -s)" != "Linux" ]; then
+if [ "$UID" != 0 -o "$(uname -s)" != "Linux" ]; then
     echo "Test can only be run as root on Linux to create bind mounts"
     exit 77
 fi