Bump to 1.14.1
[platform/upstream/augeas.git] / tests / test-put-mount-augsave.sh
index 31fcfca..ffa9c6a 100755 (executable)
@@ -1,10 +1,10 @@
-#! /bin/bash
+#!/bin/sh
 
 # Test that we don't follow bind mounts when writing to .augsave.
 # 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